######################################################################\r
\r
binary_sensor:\r
-\r
# Generic Alarms\r
- platform: template\r
sensors:\r
######################################################################\r
\r
automation:\r
-\r
######################################################################\r
# Alarm Automation: Aknowledge Alarms\r
#\r
# - persistent_notification.dismiss\r
# - script.stop_alarm\r
######################################################################\r
-\r
- alias: "Alarms: Riconoscimento Allarmi"\r
initial_state: 'on'\r
\r
######################################################################\r
\r
input_boolean:\r
-\r
# Generic Alarms\r
generic_alarm:\r
name: Allarme Generico\r
######################################################################\r
# Alarm Package - Types - Group\r
######################################################################\r
+\r
group:\r
alarms:\r
name: Allarmi\r
######################################################################
input_boolean:
-
# Guard Mode
guard_mode:
name: Modalità Guardia
######################################################################
automation:
-
######################################################################
# Guard Mode: Enable
######################################################################
-
- alias: "Modalità Guardia: Attivazione"
initial_state: 'on'
######################################################################
# Guard Mode: Disable
######################################################################
-
- alias: "Modalità Guardia: Disattivazione"
initial_state: 'on'
######################################################################\r
script: \r
-\r
######################################################################
# Alarm: Start Alarm Sound
#
# - media_player.volume_set
# - media_player.play_media
######################################################################
-\r
start_alarm_sound:
alias: "Allarmi: Avvia Suono"
sequence:
# - media_player.media_stop
# - script.volume_manager
######################################################################
-
stop_alarm_sound:
alias: "Allarmi: Interrompi Suono"
sequence:
# - script.notify_all
# - script.start_alarm_sound
######################################################################
-
start_alarm:
alias: "Allarmi: Attiva Allarme"
sequence:
# - stop_alarm_sound
# - persistent_notification.dismiss
######################################################################
-
stop_alarm:
alias: "Allarmi: Disattiva Allarme"
sequence:
######################################################################\r
\r
automation:\r
-\r
######################################################################\r
# Alarm Door\r
#\r
# Actions:\r
# - script.notify_all\r
######################################################################\r
-\r
- alias: "Allarme Porta Casa"\r
initial_state: 'on'\r
\r
######################################################################
binary_sensor:
-
######################################################################
# Binary Sensor: Doors Lock
######################################################################
-
- platform: template
sensors:
ff590mr_locked:
######################################################################
# Binary Sensor: Doors Closed
######################################################################
-
- platform: template
sensors:
ff590mr_doors_closed:
######################################################################
# Binary Sensor: Door Front Left
######################################################################
-
- platform: template
sensors:
ff590mr_door_front_left:
######################################################################
# Binary Sensor: Door Front Right
######################################################################
-
- platform: template
sensors:
ff590mr_door_front_right:
######################################################################
# Binary Sensor: Door Rear Left
######################################################################
-
- platform: template
sensors:
ff590mr_door_rear_left:
######################################################################
# Binary Sensor: Door Rear Right
######################################################################
-
- platform: template
sensors:
ff590mr_door_rear_right:
######################################################################
# Binary Sensor: Trunk
######################################################################
-
- platform: template
sensors:
ff590mr_trunk:
######################################################################
# Binary Sensor: Fuel Lid
######################################################################
-
- platform: template
sensors:
ff590mr_fuel_lid:
######################################################################
# Binary Sensor: Windows Closed
######################################################################
-
- platform: template
sensors:
ff590mr_windows_closed_2:
######################################################################
# Binary Sensor: Window Front Left
######################################################################
-
- platform: template
sensors:
ff590mr_window_front_left:
######################################################################
# Binary Sensor: Window Front Right
######################################################################
-
- platform: template
sensors:
ff590mr_window_front_right:
######################################################################
# Binary Sensor: Window Rear Left
######################################################################
-
- platform: template
sensors:
ff590mr_window_rear_left:
######################################################################
# Binary Sensor: Window Rear Right
######################################################################
-
- platform: template
sensors:
ff590mr_window_rear_right:
######################################################################
# Binary Sensor: Warning Brake fluid
######################################################################
-
- platform: template
sensors:
ff590mr_warning_brakefluid:
######################################################################
# Binary Sensor: Warning Wash Water
######################################################################
-
- platform: template
sensors:
ff590mr_warning_washwater:
######################################################################
# Binary Sensor: Warning Coolant Level Low
######################################################################
-
- platform: template
sensors:
ff590mr_warning_coolantlevellow:
homeassistant:
customize:
-
# Stato Generale
binary_sensor.ff590mr_engine_light_warning:
friendly_name: Stato Generale
######################################################################
sensor:
-
######################################################################
# Sensor: Tire Pressure Front Left
######################################################################
-
- platform: template
sensors:
ff590mr_tire_pressure_front_left:
######################################################################
# Sensor: Tire Pressure Front Right
######################################################################
-
- platform: template
sensors:
ff590mr_tire_pressure_front_right:
######################################################################
# Sensor: Tire Pressure Rear Left
######################################################################
-
- platform: template
sensors:
ff590mr_tire_pressure_rear_left:
######################################################################
# Sensor: Tire Pressure Rear Right
######################################################################
-
- platform: template
sensors:
ff590mr_tire_pressure_rear_right:
######################################################################
# Sensor: Door Front Left
######################################################################
-
#- platform: template
# sensors:
# ff590mr_door_front_left:
######################################################################
# Sensor: Door Front Right
######################################################################
-
#- platform: template
# sensors:
# ff590mr_door_front_right:
######################################################################
# Sensor: Door Rear Left
######################################################################
-
#- platform: template
# sensors:
# ff590mr_door_rear_left:
######################################################################
# Sensor: Door Rear Right
######################################################################
-
#- platform: template
# sensors:
# ff590mr_door_rear_right:
######################################################################
# Sensor: Trunk
######################################################################
-
#- platform: template
# sensors:
# ff590mr_trunk:
######################################################################
# Sensor: Distance from Start
######################################################################
-
- platform: template
sensors:
ff590mr_distance_since_start:
######################################################################
# Sensor: Distance from Reset
######################################################################
-
- platform: template
sensors:
ff590mr_distance_since_reset:
######################################################################
# Sensor: Liquid Consumption from Start
######################################################################
-
- platform: template
sensors:
ff590mr_liquid_consumption_start:
######################################################################
# Sensor: Liquid Consumption from Reset
######################################################################
-
- platform: template
sensors:
ff590mr_liquid_consumption_reset:
######################################################################
# Sensor: Service Interval Days
######################################################################
-
- platform: template
sensors:
ff590mr_service_interval_days:
######################################################################
switch:
-
- platform: template
switches:
ff590mr_lock:
######################################################################\r
\r
switch:\r
-\r
- platform: wake_on_lan\r
mac: !secret nas_mac\r
name: NAS\r
######################################################################\r
\r
shell_command:\r
-\r
nas_turn_off: 'ssh {{ nas_username }}@{{ nas_host }} -oStrictHostKeyChecking=no -i /config/credentials/id_rsa halt'\r
plex_start: 'ssh {{ nas_username }}@{{ nas_host }} -oStrictHostKeyChecking=no -i /config/credentials/id_rsa /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/plex.sh start'\r
plex_restart: 'ssh {{ nas_username }}@{{ nas_host }} -oStrictHostKeyChecking=no -i /config/credentials/id_rsa /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/plex.sh restart'\r
######################################################################\r
\r
script:\r
-\r
plex_start:\r
alias: "Avvia Plex"\r
sequence:\r