Hi,
I am trying to implement this to my HA instance:
The result I get is like the image below. I only se the icon, but not the actual website that is in the iframe URL.
If I click the icon the correct URL is showing.
This is what I have done so far:
Added this under sensor in configuration.yaml
- platform: template
sensors:
iframe:
value_template: iframe
iframe2:
value_template: iframe
Added the “state-card-iframe.html” to my “custom-ui” folder
Added this to my groups.yaml
group_iframe:
view: true
icon: mdi:camcorder
entities:
- sensor.iframe
group_iframe2:
name: Name 2
entities:
- sensor.iframe2
Added this to the customize.yaml
sensor.iframe:
custom_ui_state_card: state-card-iframe
icon: mdi:cam
config:
height: 490
width: 108
scale: 1
url: https://www.xxxxxxxxxxx.se/xxxxxx.php
Thanks in advance for any ideas!