Add titanium automation

This commit is contained in:
2020-05-03 02:43:33 +03:00
parent 072ff595a9
commit a1a6c4f7a0
5 changed files with 30 additions and 3 deletions
@@ -22,6 +22,8 @@ cards:
title: Automations
show_header_toggle: false
entities:
- automation.titanium_turn_off_when_idle
- type: divider
# Presence
- type: custom:fold-entity-row
head:
@@ -173,6 +175,7 @@ cards:
- type: divider
# Purifier
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
@@ -74,8 +74,12 @@
- value: 'idle'
styles: *on_styles
- type: custom:button-card
template: default
template:
- default
- with_state_indicator
entity: switch.titanium
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
- type: custom:decluttering-card
template: media_with_controls
@@ -72,8 +72,12 @@
- value: 'idle'
styles: *on_styles
- type: custom:button-card
template: default
template:
- default
- with_state_indicator
entity: switch.titanium
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
- type: custom:button-card
template: default
entity: sensor.synology_type_volume_1
@@ -92,8 +92,12 @@
styles: *on_styles
- type: custom:button-card
template: default
template:
- default
- with_state_indicator
entity: switch.titanium
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
- type: custom:button-card
template: default