mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-25 04:48:17 +00:00
Add toshiba conditions met to livingroom dashboard
This commit is contained in:
@@ -40,10 +40,6 @@
|
||||
styles:
|
||||
card:
|
||||
- background-image: url("/local/images/people/maya.jpg")
|
||||
|
||||
- type: custom:button-card
|
||||
template: v3_badge
|
||||
entity: device_tracker.maya_phone_1
|
||||
- type: custom:button-card
|
||||
template: v3_badge_temp
|
||||
entity: sensor.multisensor_6_temperature
|
||||
@@ -55,6 +51,9 @@
|
||||
- type: custom:button-card
|
||||
template: v3_badge
|
||||
entity: sensor.aqara_tvoc_voc
|
||||
- type: custom:button-card
|
||||
template: v3_badge_icon
|
||||
entity: binary_sensor.toshiba_ac_conditions_met
|
||||
- type: custom:button-card
|
||||
template: v3_badge_icon
|
||||
entity: binary_sensor.living_room_right_window
|
||||
|
||||
@@ -57,6 +57,9 @@ input_number:
|
||||
template:
|
||||
- binary_sensor:
|
||||
- name: Toshiba AC conditions met
|
||||
icon: >
|
||||
{{ is_state('binary_sensor.toshiba_ac_conditions_met', 'on') | iif('mdi:home-thermometer', 'mdi:home-thermometer-outline') }}
|
||||
|
||||
state: >
|
||||
{% set temp_matching = states('sensor.multisensor_6_temperature')|float >= states('input_number.toshiba_trigger_temp')|float %}
|
||||
{% set outside_temp_high = states('sensor.dark_sky_apparent_temperature')|float + 2 >= states('input_number.toshiba_trigger_temp')|float %}
|
||||
|
||||
Reference in New Issue
Block a user