|
|
|
@ -10,6 +10,16 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# hidden: False
|
|
|
|
# hidden: False
|
|
|
|
#-------------------------------------------
|
|
|
|
#-------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
camera:
|
|
|
|
|
|
|
|
- platform: synology
|
|
|
|
|
|
|
|
url: !secret synology_url
|
|
|
|
|
|
|
|
username: !secret synology_username
|
|
|
|
|
|
|
|
password: !secret synology_password
|
|
|
|
|
|
|
|
timeout: 15
|
|
|
|
|
|
|
|
verify_ssl: False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
binary_sensor:
|
|
|
|
binary_sensor:
|
|
|
|
- platform: rest
|
|
|
|
- platform: rest
|
|
|
|
name: "CAMERA1 Motion Sensor"
|
|
|
|
name: "CAMERA1 Motion Sensor"
|
|
|
|
@ -46,43 +56,4 @@ binary_sensor:
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endif -%}
|
|
|
|
#-------------------------------------------
|
|
|
|
#-------------------------------------------
|
|
|
|
# Motion Sensors added to other motion sensors in group yaml
|
|
|
|
# Motion Sensors added to other motion sensors in group yaml
|
|
|
|
|
|
|
|
#-------------------------------------------
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
### Automations - Detect when things are not right. Like any Good Watchdog.
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
#automation:
|
|
|
|
|
|
|
|
#Tweets pushed out to twitter.
|
|
|
|
|
|
|
|
# automation:
|
|
|
|
|
|
|
|
# - alias: Someone on the MC server!
|
|
|
|
|
|
|
|
# trigger:
|
|
|
|
|
|
|
|
# - platform: state
|
|
|
|
|
|
|
|
# entity_id: sensor.bear_stone
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# action:
|
|
|
|
|
|
|
|
# - service: light.turn_on
|
|
|
|
|
|
|
|
# entity_id: light.justin_go
|
|
|
|
|
|
|
|
# data_template:
|
|
|
|
|
|
|
|
# color_name: >
|
|
|
|
|
|
|
|
# {% if states.sensor.bear_stone.state|int == 1 %}
|
|
|
|
|
|
|
|
# gold
|
|
|
|
|
|
|
|
# {% elif states.sensor.bear_stone.state|int == 2 %}
|
|
|
|
|
|
|
|
# green
|
|
|
|
|
|
|
|
# {% elif states.sensor.bear_stone.state|int == 3 %}
|
|
|
|
|
|
|
|
# blue
|
|
|
|
|
|
|
|
# {% else %}
|
|
|
|
|
|
|
|
# red
|
|
|
|
|
|
|
|
# {% endif %}
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# - service_template: >
|
|
|
|
|
|
|
|
# {% if states.sensor.bear_stone.state|int > 0 %}
|
|
|
|
|
|
|
|
# light.turn_on
|
|
|
|
|
|
|
|
# {% else %}
|
|
|
|
|
|
|
|
# light.turn_off
|
|
|
|
|
|
|
|
# {% endif %}
|
|
|
|
|
|
|
|
# entity_id: light.justin_go
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# - service: light.turn_on
|
|
|
|
|
|
|
|
# entity_id:
|
|
|
|
|
|
|
|
# - light.justin_go
|
|
|
|
|
|
|
|
# data:
|
|
|
|
|
|
|
|
# flash: short
|
|
|
|
|
|
|
|
|