mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Lots and Lots and LOTS of changes
This commit is contained in:
96
config/packages/skybellhd.yaml.disabled
Executable file
96
config/packages/skybellhd.yaml.disabled
Executable file
@@ -0,0 +1,96 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
###################################
|
||||
## [SkyBell HD](https://amzn.to/2dcexIB)
|
||||
###################################
|
||||
|
||||
|
||||
skybell:
|
||||
username: !secret skybell_username
|
||||
password: !secret skybell_password
|
||||
|
||||
camera:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
- avatar
|
||||
- activity
|
||||
activity_name: "Last Activity"
|
||||
|
||||
binary_sensor:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
- button
|
||||
- motion
|
||||
|
||||
light:
|
||||
- platform: skybell # Part of the Outdoor Front Lights Group
|
||||
|
||||
sensor:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
- chime_level
|
||||
|
||||
switch:
|
||||
- platform: skybell
|
||||
monitored_conditions:
|
||||
# - do_not_disturb
|
||||
- motion_sensor
|
||||
|
||||
###################################
|
||||
## Automations
|
||||
###################################
|
||||
## Doorbell Press
|
||||
automation:
|
||||
- alias: 'Log SkyBell Pressed Activity'
|
||||
id: 64226512-f35d-4179-bfcb-9de158b8d3f4
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.skybell_front_door_button
|
||||
to: 'on'
|
||||
- platform: event
|
||||
event_type: skybell_pressed
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{%- if states.binary_sensor.skybell_front_door_button.attributes.last_triggered -%}
|
||||
{{ (as_timestamp(now()) - as_timestamp(states.binary_sensor.skybell_front_door_button.attributes.last_triggered)) > 200 }}
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
action:
|
||||
- service: script.skybell_pressed
|
||||
|
||||
|
||||
# Motion Sensing
|
||||
- alias: 'Log SkyBell Motion detection'
|
||||
id: a22c2cb7-08b2-4bd1-bc82-77201253a000
|
||||
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: skybell_motion
|
||||
|
||||
action:
|
||||
- service: script.front_house_motion
|
||||
|
||||
# Turn SkyBell Light and Neato Schedule back on if it's turned off. Like any Good Watchdog.
|
||||
|
||||
- alias: Automated Mismatch WatchDog!
|
||||
id: bff434b9-5916-42d1-8620-5723b4b1879d
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- light.front_door
|
||||
- switch.carlo_neato_schedule
|
||||
to: 'off'
|
||||
|
||||
#Turn it back on!
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
data_template:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
Reference in New Issue
Block a user