diff --git a/.timeline b/.timeline deleted file mode 100644 index 7934f42..0000000 --- a/.timeline +++ /dev/null @@ -1 +0,0 @@ -1699634302.417708 \ No newline at end of file diff --git a/automations/people/respond_to_chickadee.yaml b/automations/people/respond_to_chickadee.yaml deleted file mode 100644 index 5270c83..0000000 --- a/automations/people/respond_to_chickadee.yaml +++ /dev/null @@ -1,83 +0,0 @@ -alias: Respond to Chickadee -id: automation_respond_to_chickadee -mode: single -description: "" -trigger: - # - platform: state - # entity_id: input_boolean.chickadee_is_waiting - # from: 'off' - # to: 'on' - - platform: numeric_state - entity_id: sensor.chickadee_unread - above: 0 -condition: - - condition: state - entity_id: input_boolean.guest_mode - state: "off" - - condition: state - entity_id: group.podeins_at_home - state: "off" -action: - - repeat: - while: - - condition: numeric_state - entity_id: sensor.chickadee_unread - above: 0 - # - condition: state - # entity_id: input_boolean.chickadee_is_waiting - # state: 'on' - sequence: - - choose: - - conditions: - - condition: state - entity_id: binary_sensor.kids_at_home - state: "off" - - condition: state - entity_id: input_boolean.allow_announcements - state: "on" - - - condition: not - conditions: - - condition: state - entity_id: sensor.pixel_7_audio_mode - state: in_communication - - condition: state - entity_id: sensor.pixel_7_audio_mode - state: in_call - - condition: state - entity_id: input_boolean.kids_bedtime - state: "on" - - sequence: - - service: script.make_clever_announcement - data: - media_content_id: media-source://media_source/local/Sounds/tts/respond_to_chickadee.mp3 - - - service: notify.mobile_app_pixel_7 - data: - message: >- - Chickadee is waiting to hear back on {{states('sensor.chickadee_unread')}} message(s)! - title: Tweet tweet - - - service: notify.hass_agent_group - data: - message: >- - Chickadee is waiting to hear back on {{states('sensor.chickadee_unread')}} message(s)! - title: Tweet tweet - - - service: persistent_notification.create - data: - message: >- - Chickadee is waiting to hear back on {{states('sensor.chickadee_unread')}} message(s)! - title: Tweet Tweet - notification_id: 07111985 - - - delay: - hours: 0 - minutes: 2 - seconds: 0 - milliseconds: 0 - - - service: persistent_notification.dismiss - data: - notification_id: 07111985 diff --git a/automations/rooms/kitchen/kitchen_not_occupied.yaml b/automations/rooms/kitchen/kitchen_not_occupied.yaml index 1b78d18..dece640 100644 --- a/automations/rooms/kitchen/kitchen_not_occupied.yaml +++ b/automations/rooms/kitchen/kitchen_not_occupied.yaml @@ -13,7 +13,7 @@ trigger: - input_boolean.home_occupied - binary_sensor.kitchen_occupied to: 'off' - for: '00:05:00' + for: '00:15:00' # - platform: time_pattern # minutes: "/5" diff --git a/components/packages/automatic_sprinkler_system.yaml b/components/packages/automatic_sprinkler_system.yaml index f188a83..90dc492 100644 --- a/components/packages/automatic_sprinkler_system.yaml +++ b/components/packages/automatic_sprinkler_system.yaml @@ -359,21 +359,21 @@ template: state: > {{ states('binary_sensor.is_raining') }} - - trigger: - # - platform: homeassistant - # event: start + # - trigger: + # # - platform: homeassistant + # # event: start - # - platform: time - # at: '01:00:00' + # # - platform: time + # # at: '01:00:00' - # - platform: state - # entity_id: input_boolean.sprinkler_is_winterized + # # - platform: state + # # entity_id: input_boolean.sprinkler_is_winterized - binary_sensor: - - name: "Sprinkler: In Season" - unique_id: "custom_binary_sensor.sprinkler_in_season" - device_class: moisture - state: "{{ now().month > 4 and now().month < 10 }}" + # binary_sensor: + # - name: "Sprinkler: In Season" + # unique_id: "custom_binary_sensor.sprinkler_in_season" + # device_class: moisture + # state: "{{ now().month > 4 and now().month < 10 }}" # - trigger: # - platform: homeassistant diff --git a/components/packages/openmindsai/gpt_prompt.yaml b/components/packages/openmindsai/gpt_prompt.yaml deleted file mode 100644 index 41be634..0000000 --- a/components/packages/openmindsai/gpt_prompt.yaml +++ /dev/null @@ -1,10 +0,0 @@ -input_text: - gpt_prompt: - initial: "" - max: 255 - name: GPT Prompt - -input_button: - update_gpt_response: - name: Update GPT Response - icon: mdi:brain \ No newline at end of file diff --git a/components/packages/openmindsai/update_response_log.yaml b/components/packages/openmindsai/update_response_log.yaml deleted file mode 100644 index 2fb7df0..0000000 --- a/components/packages/openmindsai/update_response_log.yaml +++ /dev/null @@ -1,18 +0,0 @@ -automation: - description: "" - mode: single - trigger: - - platform: state - entity_id: - - sensor.hassio_mindsdb_response - attribute: response_text - condition: [] - action: - - service: notify.send_message - target: - entity_id: notify.mindsdb_responses - data: - message: > - "input":"{{ states('input_text.gpt_prompt') }}","output":"{{ state_attr('sensor.hassio_mindsdb_response','response_text')}}" - - diff --git a/components/packages/sprinklers.yaml b/components/packages/sprinklers.yaml index 40db39e..91eb877 100644 --- a/components/packages/sprinklers.yaml +++ b/components/packages/sprinklers.yaml @@ -117,7 +117,7 @@ input_button: icon: mdi:sprinkler full_run_program: - name: Run Full run Program + name: Run Full Run Program icon: mdi:sprinkler automatic_run_program: @@ -156,7 +156,7 @@ automation: - id: full_run_program_enabled platform: state - entity_id: input_button.full_run + entity_id: input_button.full_run_program - id: automatic_run_program_enabled platform: state diff --git a/esphome/master-bed.yaml b/esphome/master-bed.yaml index 9b5e9af..efba9dd 100644 --- a/esphome/master-bed.yaml +++ b/esphome/master-bed.yaml @@ -22,7 +22,8 @@ packages: wifi: !include common/ethernet.yaml device_base: !include common/device_base.yaml hx711: !include common/hx711_single_verbose.yaml - ble_proxy: !include common/ble_proxy.yaml + # Disabling this to see if it does a better job of staying online + # ble_proxy: !include common/ble_proxy.yaml esp32: board: wemos_d1_mini32 diff --git a/lovelace/appliances/dishwasher.yaml b/lovelace/appliances/dishwasher.yaml index d442e51..ddeb067 100644 --- a/lovelace/appliances/dishwasher.yaml +++ b/lovelace/appliances/dishwasher.yaml @@ -11,7 +11,6 @@ cards: - type: history-graph entities: - entity: sensor.pm_dishwasher_w - - entity: sensor.shelly_dishwasher_w hours_to_show: 2 - type: vertical-stack @@ -82,5 +81,4 @@ cards: - entity: sensor.dishwasher - entity: binary_sensor.dishwasher - entity: binary_sensor.dishwasher_door_contact - - entity: sensor.dishwasher_door_device_temperature - - entity: sensor.shelly_dishwasher_w \ No newline at end of file + - entity: sensor.dishwasher_door_device_temperature \ No newline at end of file diff --git a/lovelace/appliances/keurig.yaml b/lovelace/appliances/keurig.yaml index d302bc2..52dcea4 100644 --- a/lovelace/appliances/keurig.yaml +++ b/lovelace/appliances/keurig.yaml @@ -11,7 +11,6 @@ cards: - type: history-graph entities: - entity: sensor.pm_dishwasher_w - - entity: sensor.shelly_dishwasher_w hours_to_show: 2 - type: vertical-stack @@ -83,4 +82,3 @@ cards: - entity: binary_sensor.dishwasher - entity: binary_sensor.dishwasher_door_contact - entity: sensor.dishwasher_door_device_temperature - - entity: sensor.shelly_dishwasher_w \ No newline at end of file diff --git a/lovelace/details/view-hvac.yaml b/lovelace/details/view-hvac.yaml index 326be7d..8bb9e47 100644 --- a/lovelace/details/view-hvac.yaml +++ b/lovelace/details/view-hvac.yaml @@ -124,7 +124,7 @@ cards: Comfy {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %} Slightly Uncomfy - {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %} + {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %} Moderatly Uncomfy {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %} Highly Uncomfortable @@ -136,7 +136,7 @@ cards: mdi:thermometer-low {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %} mdi:thermometer - {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %} + {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %} mdi:thermometer-high {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %} mdi:thermometer-alert @@ -148,7 +148,7 @@ cards: green {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %} yellow - {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %} + {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %} orange {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %} red @@ -205,9 +205,40 @@ cards: {% endif %} tap_action: action: more-info - - type: custom:mushroom-entity-card + - type: custom:mushroom-template-card entity: sensor.thermal_comfort_thoms_discomfort_perception - name: Thoms Discomfort Perception + primary: Thoms + secondary: > + {% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %} + No discomfort + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','less_than_half') %} + Less than half + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','more_than_half') %} + More than half + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','most') %} + Most + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','everyone') %} + Everyone + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','dangerous') %} + Dangerous + {% endif %} + icon: tc:heat-index + icon_color: > + {% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %} + blue + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','less_than_half') %} + yellow + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','more_than_half') %} + orange + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','most') %} + orange + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','everyone') %} + red + {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','dangerous') %} + red + {% endif %} + tap_action: + action: more-info - type: horizontal-stack cards: - type: custom:mushroom-template-card diff --git a/lovelace/details/view-nws-alerts.yaml b/lovelace/details/view-nws-alerts.yaml index f9e8a23..9a76500 100644 --- a/lovelace/details/view-nws-alerts.yaml +++ b/lovelace/details/view-nws-alerts.yaml @@ -3,119 +3,23 @@ path: nws-alerts icon: mdi:cloud-alert visible: - user: 24a4bd075e7f41a497dd0390a1dd4a9f +######################################################################################### cards: - - type: entities - title: Severe Weather Alerts - show_header_toggle: false - entities: - - sensor.nws_alerts - - type: conditional - conditions: - - entity: sensor.nws_alerts - state_not: '0' - card: - type: markdown - content: | - --- - # NWS First Active Alert + - type: vertical-stack + cards: + - type: conditional + conditions: + - entity: sensor.nws_alerts_alerts + state_not: "0" + card: + type: markdown + content: | + {% set num_alerts = states('sensor.nws_alerts') | int %} + {% for alert_num in range(num_alerts) %} + --- + # {{ state_attr('sensor.nws_alerts', 'Alerts')[alert_num].Event }} - ## {{ state_attr('sensor.nws_alerts', 'Alerts')[0].Headline }} + ## {{ state_attr('sensor.nws_alerts', 'Alerts')[alert_num].Headline }} - {{ state_attr('sensor.nws_alerts', 'Alerts')[0].Description }} - - - type: conditional - conditions: - - entity: sensor.nws_alerts - state_not: '0' - - entity: sensor.nws_alerts - state_not: '1' - card: - type: markdown - content: > - --- - - # NWS Second Active Alert {% if state_attr('sensor.nws_alerts', - 'title').split(' - ')[1] is defined %} - - ## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[1] }} - - {{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[1] }} - - {% else %} - none - {% endif %} - - type: conditional - conditions: - - entity: sensor.nws_alerts - state_not: '0' - - entity: sensor.nws_alerts - state_not: '1' - - entity: sensor.nws_alerts - state_not: '2' - card: - type: markdown - content: > - --- - - # NWS Third Active Alert {% if state_attr('sensor.nws_alerts', - 'title').split(' - ')[2] is defined %} - - ## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[2] }} - - {{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[2] }} - - {% else %} - none - {% endif %} - - type: conditional - conditions: - - entity: sensor.nws_alerts - state_not: '0' - - entity: sensor.nws_alerts - state_not: '1' - - entity: sensor.nws_alerts - state_not: '2' - - entity: sensor.nws_alerts - state_not: '3' - card: - type: markdown - content: > - --- - - # NWS Fourth Active Alert {% if state_attr('sensor.nws_alerts', - 'title').split(' - ')[3] is defined %} - - ## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[3] }} - - {{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[3] }} - - {% else %} - none - {% endif %} - - type: conditional - conditions: - - entity: sensor.nws_alerts - state_not: '0' - - entity: sensor.nws_alerts - state_not: '1' - - entity: sensor.nws_alerts - state_not: '2' - - entity: sensor.nws_alerts - state_not: '3' - - entity: sensor.nws_alerts - state_not: '4' - card: - type: markdown - content: > - --- - - # NWS Fifth Active Alert {% if state_attr('sensor.nws_alerts', - 'title').split(' - ')[4] is defined %} - - ## {{ states.sensor.nws_alerts.attributes.title.split(' - ')[4] }} - - {{ state_attr('sensor.nws_alerts', 'display_desc').split('\n\n-\n\n')[4] }} - - {% else %} - none - {% endif %} \ No newline at end of file + {{ state_attr('sensor.nws_alerts', 'Alerts')[alert_num].Description }} + {% endfor %} \ No newline at end of file diff --git a/lovelace/details/view-openminds.yaml b/lovelace/details/view-openminds.yaml deleted file mode 100644 index 80011ce..0000000 --- a/lovelace/details/view-openminds.yaml +++ /dev/null @@ -1,16 +0,0 @@ -title: OpenMinds AI -path: openminds-ai -icon: mdi:brain -visible: - - user: 24a4bd075e7f41a497dd0390a1dd4a9f -cards: - - type: grid - square: false - columns: 1 - cards: - - type: entities - entities: - - entity: input_text.gpt_prompt - - type: markdown - content: '{{ state_attr(''sensor.hassio_mindsdb_response'', ''response_text'') }}' - title: OpenAI Response \ No newline at end of file diff --git a/lovelace/phone/plants.yaml b/lovelace/phone/plants.yaml index 45bb8b4..a8090af 100644 --- a/lovelace/phone/plants.yaml +++ b/lovelace/phone/plants.yaml @@ -74,6 +74,14 @@ cards: secondary_info: none tap_action: action: toggle + - type: entities + entities: + - entity: sensor.ecowitt_wh40_21917_precipitation + secondary_info: last-updated + - entity: binary_sensor.is_raining + secondary_info: last-changed + - entity: binary_sensor.sprinkler_raining + secondary_info: last-changed - type: conditional conditions: - entity: input_boolean.lovelace_show_sprinklers diff --git a/lovelace/resources.yaml b/lovelace/resources.yaml index 5ecd669..ed01057 100644 --- a/lovelace/resources.yaml +++ b/lovelace/resources.yaml @@ -54,9 +54,6 @@ - url: /hacsfiles/Home-Assistant-Mail-And-Packages-Custom-Card/Home-Assistant-Mail-And-Packages-Custom-Card.js type: module -- url: /hacsfiles/lovelace-grocy-chores-card/grocy-chores-card.js - type: module - - url: /hacsfiles/lovelace-mushroom/mushroom.js type: module diff --git a/lovelace/view-overview.yaml b/lovelace/view-overview.yaml index b1fe29d..0bbeae6 100644 --- a/lovelace/view-overview.yaml +++ b/lovelace/view-overview.yaml @@ -18,30 +18,22 @@ badges: - type: conditional conditions: - - entity: sensor.thermal_comfort_dew_point_perception - state_not: unavailable + - condition: or + conditions: + - entity: sensor.thermal_comfort_dew_point_perception + state: somewhat_uncomfortable + - entity: sensor.thermal_comfort_dew_point_perception + state: quite_uncomfortable + - entity: sensor.thermal_comfort_dew_point_perception + state: quite_uncomfortable + - entity: sensor.thermal_comfort_dew_point_perception + state: extremely_uncomfortable + - entity: sensor.thermal_comfort_dew_point_perception + state: severely_high chip: type: template entity: sensor.thermal_comfort_dew_point_perception content: Dew Point - # content: > - # {% if is_state('sensor.thermal_comfort_dew_point_perception','dry') %} - # Dry - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','very_comfortable') %} - # Very Comfy - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','comfortable') %} - # Comfy - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','ok_but_humid') %} - # Humid - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','somewhat_uncomfortable') %} - # Somewhat Uncomfy - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','quite_uncomfortable') %} - # Quite Uncomfy - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','extremely_uncomfortable') %} - # Extremely Uncomfy - # {% elif is_state('sensor.thermal_comfort_dew_point_perception','severely_high') %} - # Severely High - # {% endif %} icon: tc:dew-point icon_color: > {% if is_state('sensor.thermal_comfort_dew_point_perception','dry') %} @@ -55,7 +47,7 @@ badges: {% elif is_state('sensor.thermal_comfort_dew_point_perception','somewhat_uncomfortable') %} yellow {% elif is_state('sensor.thermal_comfort_dew_point_perception','quite_uncomfortable') %} - orange + yellow {% elif is_state('sensor.thermal_comfort_dew_point_perception','extremely_uncomfortable') %} orange {% elif is_state('sensor.thermal_comfort_dew_point_perception','severely_high') %} @@ -67,41 +59,23 @@ badges: - type: conditional conditions: - - entity: sensor.thermal_comfort_humidex_perception - state_not: unavailable + - condition: or + conditions: + - entity: sensor.thermal_comfort_humidex_perception + state: noticable_discomfort + - entity: sensor.thermal_comfort_humidex_perception + state: evident_discomfort + - entity: sensor.thermal_comfort_humidex_perception + state: great_discomfort + - entity: sensor.thermal_comfort_humidex_perception + state: dangerous_discomfort + - entity: sensor.thermal_comfort_humidex_perception + state: heat_stroke chip: type: template entity: sensor.thermal_comfort_humidex_perception content: Humidex - # content: > - # {% if is_state('sensor.thermal_comfort_humidex_perception','comfortable') %} - # Comfy - # {% elif is_state('sensor.thermal_comfort_humidex_perception','noticable_discomfort') %} - # Noticable Discomfort - # {% elif is_state('sensor.thermal_comfort_humidex_perception','evident_discomfort') %} - # Evident Discomfort - # {% elif is_state('sensor.thermal_comfort_humidex_perception','great_discomfort') %} - # Great Discomfort - # {% elif is_state('sensor.thermal_comfort_humidex_perception','dangerous_discomfort') %} - # Dangerous - # {% elif is_state('sensor.thermal_comfort_humidex_perception','heat_stroke') %} - # Heat Stroke - # {% endif %} icon: tc:thermal-perception - # icon: > - # {% if is_state('sensor.thermal_comfort_humidex_perception','comfortable') %} - # mdi:thermometer-low - # {% elif is_state('sensor.thermal_comfort_humidex_perception','noticable_discomfort') %} - # mdi:thermometer - # {% elif is_state('sensor.thermal_comfort_humidex_perception','evident_discomfort') %} - # mdi:thermometer-high - # {% elif is_state('sensor.thermal_comfort_humidex_perception','great_discomfort') %} - # mdi:thermometer-high - # {% elif is_state('sensor.thermal_comfort_humidex_perception','dangerous_discomfort') %} - # mdi:thermometer-alert - # {% elif is_state('sensor.thermal_comfort_humidex_perception','heat_stroke') %} - # mdi:thermometer-alert - # {% endif %} icon_color: > {% if is_state('sensor.thermal_comfort_humidex_perception','comfortable') %} green @@ -122,30 +96,24 @@ badges: - type: conditional conditions: - - entity: sensor.thermal_comfort_summer_scharlau_perception - state_not: unavailable - - entity: sensor.thermal_comfort_summer_scharlau_perception - state_not: outside_calculable_range + - condition: or + conditions: + - entity: sensor.thermal_comfort_summer_scharlau_perception + state: slightly_uncomfortable + - entity: sensor.thermal_comfort_summer_scharlau_perception + state: moderately_uncomfortable + - entity: sensor.thermal_comfort_summer_scharlau_perception + state: highly_uncomfortable chip: type: template entity: sensor.thermal_comfort_summer_scharlau_perception content: Summer Scharlau - # content: > - # {% if is_state('sensor.thermal_comfort_summer_scharlau_perception','comfortable') %} - # Comfy - # {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %} - # Slightly Uncomfy - # {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %} - # Moderatly Uncomfy - # {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %} - # Highly Uncomfortable - # {% endif %} icon: > {% if is_state('sensor.thermal_comfort_summer_scharlau_perception','comfortable') %} mdi:thermometer-low {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %} mdi:thermometer - {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %} + {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %} mdi:thermometer-high {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %} mdi:thermometer-alert @@ -155,7 +123,7 @@ badges: green {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','slightly_uncomfortable') %} yellow - {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderatly_uncomfortable') %} + {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','moderately_uncomfortable') %} orange {% elif is_state('sensor.thermal_comfort_summer_scharlau_perception','highly_uncomfortable') %} red @@ -174,16 +142,6 @@ badges: type: template entity: sensor.thermal_comfort_winter_scharlau_perception content: Winter Scharlau - # content: > - # {% if is_state('sensor.thermal_comfort_winter_scharlau_perception','comfortable') %} - # Comfy - # {% elif is_state('sensor.thermal_comfort_winter_scharlau_perception','slightly_uncomfortable') %} - # Slightly Uncomfy - # {% elif is_state('sensor.thermal_comfort_winter_scharlau_perception','moderatly_uncomfortable') %} - # Moderatly Uncomfy - # {% elif is_state('sensor.thermal_comfort_winter_scharlau_perception','highly_uncomfortable') %} - # Highly Uncomfortable - # {% endif %} icon: > {% if is_state('sensor.thermal_comfort_winter_scharlau_perception','comfortable') %} mdi:snowflake-off @@ -253,53 +211,25 @@ badges: - type: conditional conditions: - - entity: sensor.thermal_comfort_summer_simmer_perception - state_not: unavailable + - condition: or + conditions: + - entity: sensor.thermal_comfort_summer_simmer_perception + state: slightly_warm + - entity: sensor.thermal_comfort_summer_simmer_perception + state: increasing_discomfort + - entity: sensor.thermal_comfort_summer_simmer_perception + state: extremely_warm + - entity: sensor.thermal_comfort_summer_simmer_perception + state: danger_of_heatstroke + - entity: sensor.thermal_comfort_summer_simmer_perception + state: extreme_danger_of_heatstroke + - entity: sensor.thermal_comfort_summer_simmer_perception + state: circulatory_collapse_imminent chip: type: template entity: sensor.thermal_comfort_summer_simmer_perception content: Summer Simmer - # content: > - # {% if is_state('sensor.thermal_comfort_summer_simmer_perception','cool') %} - # Cool - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_cool') %} - # Cool - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','comfortable') %} - # Comfy - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_warm') %} - # Warm - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','increasing_discomfort') %} - # Warm - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extremely_warm') %} - # Hot - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %} - # Hot - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %} - # Danger - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %} - # Danger - # {% endif %} icon: tc:simmer-zone - # icon: > - # {% if is_state('sensor.thermal_comfort_summer_simmer_perception','cool') %} - # mdi:thermometer-low - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_cool') %} - # mdi:thermometer-low - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','comfortable') %} - # mdi:thermometer - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','slightly_warm') %} - # mdi:thermometer-chevron-up - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','increasing_discomfort') %} - # mdi:thermometer-chevron-up - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extremely_warm') %} - # mdi:thermometer-high - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %} - # mdi:thermometer-high - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %} - # mdi:thermometer-alert - # {% elif is_state('sensor.thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %} - # mdi:thermometer-alert - # {% endif %} icon_color: > {% if is_state('sensor.thermal_comfort_summer_simmer_perception','cool') %} blue @@ -326,26 +256,20 @@ badges: - type: conditional conditions: - - entity: sensor.thermal_comfort_thoms_discomfort_perception - state_not: unavailable + - condition: or + conditions: + - entity: sensor.thermal_comfort_thoms_discomfort_perception + state: more_than_half + - entity: sensor.thermal_comfort_thoms_discomfort_perception + state: most + - entity: sensor.thermal_comfort_thoms_discomfort_perception + state: everyone + - entity: sensor.thermal_comfort_thoms_discomfort_perception + state: dangerous chip: type: template entity: sensor.thermal_comfort_thoms_discomfort_perception content: Thoms - # content: > - # {% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %} - # Comfy - # {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','less_than_half') %} - # < 1/2 - # {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','more_than_half') %} - # > 1/2 - # {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','most') %} - # Most - # {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','everyone') %} - # Everyone - # {% elif is_state('sensor.thermal_comfort_thoms_discomfort_perception','dangerous') %} - # Dangerous - # {% endif %} icon: > {% if is_state('sensor.thermal_comfort_thoms_discomfort_perception','no_discomfort') %} mdi:thermometer-low @@ -441,6 +365,17 @@ badges: action: navigate navigation_path: /phone-yaml/plants + - type: conditional + conditions: + - entity: binary_sensor.is_raining + state: "on" + chip: + type: entity + entity: binary_sensor.is_raining + tap_action: + action: navigate + navigation_path: /phone-yaml/plants + - type: conditional conditions: - entity: binary_sensor.sprinkler_should_winterize @@ -465,16 +400,6 @@ badges: action: navigate navigation_path: /phone-yaml/plants - - type: conditional - conditions: - - entity: sensor.chickadee_unread - state_not: unavailable - - entity: sensor.chickadee_unread - state_not: "0" - chip: - type: entity - entity: sensor.chickadee_unread - - type: conditional conditions: - entity: sensor.watchman_missing_entities diff --git a/lovelace/view-power-usage.yaml b/lovelace/view-power-usage.yaml index aaedd94..5b054a1 100644 --- a/lovelace/view-power-usage.yaml +++ b/lovelace/view-power-usage.yaml @@ -59,7 +59,7 @@ cards: name: Microwave - entity: sensor.pm_stove_w name: Stove/Oven - - entity: sensor.shelly_dishwasher_w + - entity: sensor.pm_dishwasher_w name: Dishwasher - entity: sensor.shelly_keurig_w name: Keurig