Ok, i’m at a loss with this one.
I’m trying to create some popups with browser mod, I can get it working fine, but whenever I go back in to edit the code, its gone.
Also sometimes i’ve noticed it will just autofill the code with a “null” statement like this.
browser_mod: null
This is my working code:
type: 'custom:mushroom-entity-card'
entity: switch.harmonyhub_androidtv
layout: vertical
name: Android TV
icon: 'mdi:youtube'
hold_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
browser_id: THIS
dismissable: true
content:
type: 'custom:firemote-card'
entity: media_player.android_tv_172_16_101_8
device_family: chromecast
device_type: chromecast-4k
compatibility_mode: default
android_tv_remote_entity: remote.sv11
defaultRemoteStyle_override: AF6
app_launch_1: youtube
app_launch_2: netflix
app_launch_3: function-reboot
app_launch_4: function-settings
When I go back in to edit the code, this is what it looks like.
type: custom:mushroom-entity-card
entity: switch.harmonyhub_androidtv
layout: vertical
name: Android TV
icon: mdi:youtube
hold_action:
action: ''
Visual editor is not supported for this configuration:
At path: hold_action.action -- Expected one of `"none","toggle","more-info","call-service","url","navigate","assist"`, but received: ""
You can still edit your config in YAML.
Everything from hold_action below has gone.
Any ideas?