Appdaemon - Better vacuum cleaner controls

This commit is contained in:
2019-04-02 23:39:40 +02:00
parent 1c2a41cef3
commit dadf0735d1
7 changed files with 116 additions and 8 deletions

45
lovelace/vacuum_card.yaml Normal file
View File

@@ -0,0 +1,45 @@
type: vertical-stack
cards:
- type: custom:auto-entities
card: { type: entities }
filter:
include:
- entity_id: switch.vacuum_*
- type: horizontal-stack
cards:
- type: entity-button
entity: sun.sun
icon: mdi:broom
name: Städa
tap_action:
action: call-service
service: python_script.event
service_data:
event: VACUUM_ZONE
- type: entity-button
entity: sun.sun
icon: mdi:broom
name: Städa Allt
tap_action:
action: call-service
service: python_script.event
service_data:
event: VACUUM_ALL
- type: entity-button
entity: sun.sun
icon: mdi:wrench
name: Töm
tap_action:
action: call-service
service: python_script.event
service_data:
event: VACUUM_SERVICE
- type: entity-button
entity: sun.sun
icon: mdi:sleep
name: Vila
tap_action:
action: call-service
service: python_script.event
service_data:
event: VACUUM_HOME