mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Remove logging and clear up some general cruft
This commit is contained in:
@@ -10,6 +10,8 @@ trigger:
|
||||
- person.clint
|
||||
- group.person_clint
|
||||
from: "home"
|
||||
for:
|
||||
seconds: 30
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
alias: Clint Home
|
||||
id: automation_clint_home
|
||||
mode: restart
|
||||
#description:
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- device_tracker.pixel_10_pro
|
||||
- person.clint
|
||||
- group.person_clint
|
||||
- device_tracker.pixel_10_pro_wifi
|
||||
to: "home"
|
||||
|
||||
- platform: state
|
||||
id: car_home
|
||||
entity_id:
|
||||
- binary_sensor.gray_suv_east_side
|
||||
- binary_sensor.gray_suv_west_side
|
||||
- group.traverse
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: group.person_clint
|
||||
above: 0
|
||||
value_template: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.person_clint', 'entity_id'))|list)|groupby('state'))['home']|count }}"
|
||||
- condition: state
|
||||
entity_id: sensor.pixel_10_pro_wi_fi_connection
|
||||
state: "DreamWeaver"
|
||||
- condition: state
|
||||
entity_id: sensor.pixel_10_pro_wi_fi_connection
|
||||
state: "DreamIoT-2G"
|
||||
- condition: state
|
||||
entity_id: sensor.pixel_10_pro_wi_fi_connection
|
||||
state: "pozfam"
|
||||
- condition: state
|
||||
entity_id: sensor.pixel_10_pro_wi_fi_connection
|
||||
state: "pozfam-2.4G"
|
||||
- condition: trigger
|
||||
id: "car_home"
|
||||
sequence:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.clint_home
|
||||
- action: automation.turn_on
|
||||
entity_id: automation.clint_at_work
|
||||
- action: script.pixel_10_to_normal_mode
|
||||
data: {}
|
||||
- action: notify.mobile_app_pixel_10_pro
|
||||
data:
|
||||
message: command_volume_level
|
||||
data:
|
||||
media_stream: notification_stream
|
||||
command: 4
|
||||
|
||||
|
||||
- delay: "00:00:30"
|
||||
|
||||
Reference in New Issue
Block a user