New browser_mod popups

This commit is contained in:
2019-10-30 14:18:56 +01:00
parent 0120dea97d
commit 1efa41a2f7
6 changed files with 120 additions and 30 deletions

View File

@@ -0,0 +1,10 @@
type: vertical-stack
cards:
- type: entities
entities: &door_entities
- binary_sensor.hall_ytterdorr
- binary_sensor.tvattstuga_ytterdorr
- binary_sensor.vardagsrum_ytterdorr
- binary_sensor.sovrum_ytterdorr
- type: history-graph
entities: *door_entities

View File

@@ -0,0 +1,48 @@
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
- type: custom:more-info-card
entity: vacuum.xiaomi_vacuum_cleaner