Fix popups in 0.113. Fix #115

This commit is contained in:
thomas committed 2020-07-24 18:58:29 +02:00
1 parent 88ca719af4
commit 954c960789
6 files changed
+169 -10

No files matched your search

+62
View File
@@ -1,4 +1,10 @@
name: browser_mod
popup_cards:
sun.sun:
title: Popup-card
card:
type: markdown
content: Popup for sun.sun
views:
- title: Player
cards:
@@ -16,3 +22,59 @@ views:
type: markdown
content: Hello!
- type: button
entity: sun.sun
name: large
tap_action:
action: call-service
service: browser_mod.popup
service_data:
deviceID: this
title: Test
large: true
card:
type: markdown
content: Hello!
- type: button
entity: sun.sun
name: Style
tap_action:
action: call-service
service: browser_mod.popup
service_data:
deviceID: this
title: Test
style:
border-radius: 20px
card:
type: markdown
content: Hello!
- type: button
entity: sun.sun
name: Auto Close
tap_action:
action: call-service
service: browser_mod.popup
service_data:
deviceID: this
title: Test
auto_close: true
card:
type: markdown
content: Hello!
- type: button
entity: sun.sun
name: Hide Header
tap_action:
action: call-service
service: browser_mod.popup
service_data:
deviceID: this
title: Test
hide_header: true
card:
type: markdown
content: Hello!