Update HA, add vacuum, grid cards, fixes
Cette révision appartient à :
@@ -1,53 +0,0 @@
|
||||
- platform: template
|
||||
switches:
|
||||
|
||||
camera_livingroom_email:
|
||||
value_template: "{{ is_state_attr('camera.livingroom', 'email_enabled', true) }}"
|
||||
turn_on:
|
||||
service: camera.enable_email
|
||||
data:
|
||||
entity_id: camera.livingroom
|
||||
turn_off:
|
||||
service: camera.disable_email
|
||||
data:
|
||||
entity_id: camera.livingroom
|
||||
icon_template: >-
|
||||
{% if is_state_attr('camera.livingroom', 'email_enabled', true) %}
|
||||
mdi:email
|
||||
{% else %}
|
||||
mdi:email-outline
|
||||
{% endif %}
|
||||
|
||||
camera_livingroom_ftp:
|
||||
value_template: "{{ is_state_attr('camera.livingroom', 'ftp_enabled', true) }}"
|
||||
turn_on:
|
||||
service: camera.enable_ftp
|
||||
data:
|
||||
entity_id: camera.livingroom
|
||||
turn_off:
|
||||
service: camera.disable_ftp
|
||||
data:
|
||||
entity_id: camera.livingroom
|
||||
icon_template: >-
|
||||
{% if is_state_attr('camera.livingroom', 'ftp_enabled', true) %}
|
||||
mdi:filmstrip
|
||||
{% else %}
|
||||
mdi:filmstrip-off
|
||||
{% endif %}
|
||||
|
||||
camera_livingroom_ir_lights:
|
||||
value_template: "{{ is_state_attr('camera.livingroom', 'ir_lights_enabled', true) }}"
|
||||
turn_on:
|
||||
service: camera.enable_ir_lights
|
||||
data:
|
||||
entity_id: camera.livingroom
|
||||
turn_off:
|
||||
service: camera.disable_ir_lights
|
||||
data:
|
||||
entity_id: camera.livingroom
|
||||
icon_template: >-
|
||||
{% if is_state_attr('camera.livingroom', 'ir_lights_enabled', true) %}
|
||||
mdi:flashlight
|
||||
{% else %}
|
||||
mdi:flashlight-off
|
||||
{% endif %}
|
||||
@@ -14,6 +14,19 @@
|
||||
turn_off:
|
||||
service: script.dummy
|
||||
|
||||
desktop_jenny_wol:
|
||||
value_template: "{{ is_state('binary_sensor.desktop_jenny_ping', 'on') }}"
|
||||
turn_on:
|
||||
service: shell_command.ssh
|
||||
data:
|
||||
sshkey: !secret sshkey_wakeonlan
|
||||
host: !secret nas_ip
|
||||
user: !secret nas_ssh_user
|
||||
port: !secret nas_ssh_port
|
||||
command_or_param: !secret desktop_jenny_mac
|
||||
turn_off:
|
||||
service: script.dummy
|
||||
|
||||
onair_lamp_recording:
|
||||
value_template: "{{ is_state('input_boolean.onair_lamp_recording', 'on') }}"
|
||||
turn_on:
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
- platform: template
|
||||
switches:
|
||||
|
||||
wallboard_display:
|
||||
friendly_name: Wallboard Display Toggle
|
||||
value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}"
|
||||
turn_on:
|
||||
service: script.wallboard_hdmi_on
|
||||
turn_off:
|
||||
service: script.wallboard_hdmi_off
|
||||
#- platform: template
|
||||
# switches:
|
||||
# wallboard_display:
|
||||
# friendly_name: Wallboard Display Toggle
|
||||
# value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}"
|
||||
# turn_on:
|
||||
# service: script.wallboard_hdmi_on
|
||||
# turn_off:
|
||||
# service: script.wallboard_hdmi_off
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur