Fix a lot of the switches after messing with Tuya integrations

This commit is contained in:
Carlo Costanzo 2025-06-02 16:47:03 -04:00
parent 97213e22ad
commit cfcbdd0460
4 changed files with 17 additions and 17 deletions

View File

@ -30,14 +30,14 @@
- light.fridge
- light.k4
- group.kitchen_accents
- switch.office_lamp_switch_socket
- switch.office_lamp_switch
- wait_template: >-
{{ states.sun.sun.state == 'above_horizon' }}
- service: homeassistant.turn_on
entity_id:
- switch.alarm_panel_1_motion_detection
- switch.office_lamp_switch_socket
- switch.office_lamp_switch
- service: number.set_value
target:
entity_id: number.alarm_panel_1_screen_brightness

View File

@ -19,7 +19,7 @@ Interior Switches:
- switch.den_outlet
- switch.living_room_outlet
- switch.living_room_tv_outlet
- switch.office_lamp_switch_socket
- switch.office_lamp_switch
- switch.front_office_lamp
Kitchen Accents:

View File

@ -15,4 +15,4 @@ automation:
action:
- service: switch.toggle
entity_id: switch.office_lamp_switch_socket
entity_id: switch.office_lamp_switch

View File

@ -63,7 +63,7 @@
{%- if states('sensor.nws_alerts')|int > 0 -%}
{%- set alert_description = state_attr('sensor.nws_alerts', 'Alerts') %}
[Summarize the included weather alert and give overall details on any storms releavant to the residents of the home. Use the Situation Overview Section to best understand what is going on - Be sure to highlight any impacts to Seminole County or Tallahassee]
[Summarize the included weather alert and give overall details on any storms relevant to the residents of the home. Use the Situation Overview Section to best understand what is going on - Be sure to highlight any impacts to Seminole County or Tallahassee]
{{ alert_description }}
[END of Weather Alert]
{%- endif %}
@ -246,36 +246,36 @@
{% else -%}
Away
{% endif -%}
{%- if states('person.carlo') != 'home' %}
(Direction of travel: {{ state_attr('sensor.carlo_place', 'direction_of_travel') }})
{% endif -%}
# {%- if states('person.carlo') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.carlo_place', 'direction_of_travel') }})
# {% endif -%}
- Stacey: {{ states('person.stacey') }} at
{%- if states('sensor.stacey_place') != 'unknown' %}
{{ states('sensor.stacey_place') }}
{% else -%}
Away
{% endif -%}
{%- if states('person.stacey') != 'home' %}
(Direction of travel: {{ state_attr('sensor.stacey_place', 'direction_of_travel') }})
{% endif -%}
# {%- if states('person.stacey') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.stacey_place', 'direction_of_travel') }})
# {% endif -%}
- Justin: {{ states('person.justin') }} at
{%- if states('sensor.justin_place') != 'unknown' %}
{{ states('sensor.justin_place') }}
{% else -%}
Away
{% endif -%}
{%- if states('person.justin') != 'home' %}
(Direction of travel: {{ state_attr('sensor.justin_place', 'direction_of_travel') }})
{% endif -%}
# {%- if states('person.justin') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.justin_place', 'direction_of_travel') }})
# {% endif -%}
- Paige: {{ states('person.paige') }} at
{%- if states('sensor.paige_place') != 'unknown' %}
{{ states('sensor.paige_place') }}
{% else -%}
Away
{% endif -%}
{%- if states('person.paige') != 'home' %}
(Direction of travel: {{ state_attr('sensor.paige_place', 'direction_of_travel') }})
{% endif -%}
# {%- if states('person.paige') != 'home' %}
# (Direction of travel: {{ state_attr('sensor.paige_place', 'direction_of_travel') }})
# {% endif -%}
{% if range(1, 100) | random <= 25 %}
and our cat Molly: Always home.
{% endif %}