74 lines
1.8 KiB
YAML
74 lines
1.8 KiB
YAML
debugger:
|
|
module: debugger
|
|
class: Debugger
|
|
priority: 0
|
|
port: 5678
|
|
wait_for_client: false # set to true when you need to debug initialize()
|
|
|
|
informations_collector:
|
|
module: informationscollector
|
|
class: InformationsCollector
|
|
priority: 1
|
|
|
|
mute: True
|
|
|
|
appdaemon_version_sensor: sensor.ad_appdaemon_version
|
|
|
|
error_collector:
|
|
reset_error_count_button: input_button.reset_error_count
|
|
output_sensor: sensor.ad_errors
|
|
|
|
min_max_temp_sensors:
|
|
temperature_sensors:
|
|
- sensor.ext_front_temperature
|
|
- sensor.ext_back_temperature
|
|
output_sensors:
|
|
max_temp: sensor.max_temp_outside
|
|
max_temp_yesterday: sensor.max_temp_yesterday_outside
|
|
min_temp: sensor.min_temp_outside
|
|
min_temp_yesterday: sensor.min_temp_yesterday_outside
|
|
|
|
group_collectors:
|
|
windows:
|
|
group: binary_sensor.group_windows
|
|
output_sensor: sensor.ad_number_of_windows_open
|
|
|
|
doors:
|
|
group: binary_sensor.group_doors
|
|
output_sensor: sensor.ad_number_of_doors_open
|
|
|
|
music_players:
|
|
group: media_player.group_music_player
|
|
output_sensor: sensor.ad_number_of_music_player_active
|
|
active_condition: self == 'playing'
|
|
|
|
#windows:
|
|
# group: group.fenetres
|
|
# output_sensor: sensor.ad_number_of_windows_open
|
|
|
|
# shutters:
|
|
# group: group.volets
|
|
# output_sensor: sensor.ad_number_of_shutter_close
|
|
|
|
# occupency_sensors:
|
|
# group: group.occupency_sensors
|
|
# output_sensor: sensor.ad_number_of_rooms_occupied
|
|
|
|
# smart_lights:
|
|
# group:
|
|
# - group.smart_lights
|
|
# - group.dumb_lights
|
|
# output_sensor: sensor.ad_number_of_lights_on
|
|
|
|
haw_switch:
|
|
module: smartswitch
|
|
class: SmartSwitch
|
|
|
|
entity: input_boolean.haw
|
|
|
|
auto_switch_off_after: 28800 # 8h
|
|
|
|
off_events:
|
|
- WAKEUP
|
|
|