Fix popups in 0.113. Fix #115

This commit is contained in:
2020-07-24 18:57:34 +02:00
parent 88ca719af4
commit 954c960789
6 changed files with 169 additions and 10 deletions

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!