minor updates
This commit is contained in:
parent
0911b1cf6e
commit
dafef91d88
|
@ -156,10 +156,10 @@ cards:
|
||||||
show_state: true
|
show_state: true
|
||||||
title: Fitness
|
title: Fitness
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.yo_mama_steps
|
- entity: sensor.suresh_steps
|
||||||
icon: "mdi:run"
|
icon: "mdi:run"
|
||||||
name: Suresh Steps
|
name: Suresh Steps
|
||||||
- entity: sensor.yo_mama_floors_ascended
|
- entity: sensor.suresh_floors_ascended
|
||||||
icon: "mdi:run"
|
icon: "mdi:run"
|
||||||
name: Suresh Floors Ascended
|
name: Suresh Floors Ascended
|
||||||
- entity: sensor.mallika_steps
|
- entity: sensor.mallika_steps
|
||||||
|
|
|
@ -171,6 +171,37 @@ automation:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.backyard_light
|
entity_id: switch.backyard_light
|
||||||
|
|
||||||
|
- alias: Christmas Lights ON (At Sunset)
|
||||||
|
trigger:
|
||||||
|
platform: sun
|
||||||
|
event: sunset
|
||||||
|
offset: "+00:00:00"
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.light_automations
|
||||||
|
state: "on"
|
||||||
|
action:
|
||||||
|
- service: switch.turn_on
|
||||||
|
entity_id: switch.left
|
||||||
|
- service: switch.turn_on
|
||||||
|
entity_id: switch.backyard_light
|
||||||
|
|
||||||
|
- alias: Christmas Lights OFF (At Sunrise)
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
platform: sun
|
||||||
|
event: sunrise
|
||||||
|
offset: "00:15:00"
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.light_automations
|
||||||
|
state: "on"
|
||||||
|
action:
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.left
|
||||||
|
- service: switch.turn_off
|
||||||
|
entity_id: switch.backyard_light
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Turn indoor lights on 30 minutes before sunset
|
# Turn indoor lights on 30 minutes before sunset
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -240,25 +240,26 @@ automation:
|
||||||
# When home security system is turned OFF or turned to Home mode from "away"
|
# When home security system is turned OFF or turned to Home mode from "away"
|
||||||
# means, someone reached home from outside
|
# means, someone reached home from outside
|
||||||
###############################################################################
|
###############################################################################
|
||||||
- alias: Turn ON Thermostat upon reaching home
|
# - alias: Turn ON Thermostat upon reaching home
|
||||||
initial_state: true
|
# initial_state: true
|
||||||
trigger:
|
# trigger:
|
||||||
platform: state
|
# platform: state
|
||||||
entity_id: alarm_control_panel.home
|
# entity_id: alarm_control_panel.home
|
||||||
condition:
|
# condition:
|
||||||
- condition: template
|
# - condition: template
|
||||||
value_template: >
|
# value_template: >
|
||||||
{% if trigger.from_state.state == 'armed_away' and
|
# {% if trigger.from_state.state == 'armed_away' and
|
||||||
(trigger.to_state.state == 'armed_home' or trigger.to_state.state == 'disarmed') %}
|
# (trigger.to_state.state == 'armed_home' or trigger.to_state.state == 'disarmed') %}
|
||||||
true
|
# true
|
||||||
{% else %}
|
# {% else %}
|
||||||
false
|
# false
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
action:
|
# action:
|
||||||
- service: climate.set_away_mode
|
# - service: climate.set_preset_mode
|
||||||
data_template:
|
# target:
|
||||||
entity_id: climate.dining_room
|
# entity_id: climate.dining_room
|
||||||
away_mode: "false"
|
# data:
|
||||||
|
# preset_mode: "eco"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# TURN HOME SECURITY SYSTEM ON AT BED TIME
|
# TURN HOME SECURITY SYSTEM ON AT BED TIME
|
||||||
|
|
|
@ -283,6 +283,8 @@ automation:
|
||||||
conditions:
|
conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.trash_reminders') == 'on' }}"
|
value_template: "{{ states('input_boolean.trash_reminders') == 'on' }}"
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ states('input_boolean.home_mode_away') == 'off' }}"
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
|
|
@ -197,9 +197,13 @@ script:
|
||||||
- service: notify.android_tv_fire_tv
|
- service: notify.android_tv_fire_tv
|
||||||
data:
|
data:
|
||||||
message: "{{ message }}"
|
message: "{{ message }}"
|
||||||
title: "Hello!"
|
title: Mahasri Bot
|
||||||
data:
|
data:
|
||||||
color: red
|
color: red
|
||||||
|
duration: 10
|
||||||
|
transparency: 1%
|
||||||
|
icon:
|
||||||
|
path: /config/www/{{- [ "suresh.jpg", "srinika.jpg", "mallika.jpg", "hasika.jpg" ] | random -}}
|
||||||
|
|
||||||
good_night_tts:
|
good_night_tts:
|
||||||
sequence:
|
sequence:
|
||||||
|
|
Loading…
Reference in New Issue