Appdaemon - Better vacuum cleaner controls

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

No files matched your search

+45
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
+1 -8
View File
@@ -5,14 +5,7 @@ panel: true
popup_cards:
vacuum.xiaomi_vacuum_cleaner:
title: Dammsugare
card:
type: entities
entities:
- vacuum.xiaomi_vacuum_cleaner
- script.vacuum_home
- script.vacuum_empty
- script.vacuum_daily
- script.vacuum_all
card: !include vacuum_card.yaml
cards:
- type: custom:layout-card
layout: vertical