Displaying things in popup #490
-
Hello everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You could use browser mod or if there is a local thumbnail available in the camera attributes you could use image_set to place that in your floor plan |
Beta Was this translation helpful? Give feedback.
-
Using browser_mod. Here's one example with a few custom components in use, too. There's also a "standard" solution at the first one (button * 2) hold_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
title: 3D Printer
content:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: button
entity: button.p1s_01p00a3c2400594_pause_printing
name: Pause print
- type: button
entity: button.p1s_01p00a3c2400594_stop_printing
name: Stop print
- type: custom:restriction-card
restrictions:
confirm:
text: Bekræft venligst at du vil ændre ved disse enheder!
card:
type: entities
show_header_toggle: false
entities:
- entity: switch.sonoffpow1
type: "custom:secondaryinfo-entity-row"
secondary_info: 'P1S er [[ if(device_tracker.bambulab_p1s == home, "tændt", "slukket") ]]'
- entity: button.p1s_01p00a3c2400594_stop_printing
name: 'Stop print'
- type: 'custom:auto-entities'
card:
type: entities
#title: Kontor
show_header_toggle: false
filter:
include:
- entity_id: "sensor.*bambu*" |
Beta Was this translation helpful? Give feedback.
Not that I am aware. Here are some excerpts from floor plans I use.
This one pops up an iframe with the url shown. It also uses card-mod to control the size of the iframe