I am still fairly new to all this, so apologies in advance if this may seem like a super basic question. I have custom tv card set up and working
https://github.com/marrobHD/tv-card
as well as browser mod installed through hacs I assume its working as it shows the entities and added to my configurations.yaml file
browser_mod:
devices:
stand_in_id:
name: laptop
I am attempting to eventually get all my custom tv cards to be set up in a drop-down menu type fashion where you select the media remote, you’d like to use and then it provides a pop up of that remote card. for now, however, just to keep things basic I am working with one custom tv card and trying to set it up as a button that when pressed pops up with that card. I have the tv card set up on the dashboard as a non-popup, just can’t seem to understand how to combine the two as I have been able to turn it into a button but when clicked it provides no popup.
here is the setup for the tv card I have set up without browser mod popup (commands are null as I haven’t added them yet but have verified that it works)
type: custom:tv-card
entity: stand_in_entity
name: Bed Room-fire stick
tv: true
power_off:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
power_on:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
up:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
down:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
left:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
right:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
select:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
back:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
home:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
info:
service: androidtv.adb_command
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
netflix:
service: media_player.select_source
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
prime_video:
service: media_player.select_source
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
youtube:
service: media_player.select_source
service_data:
command: null
entity_id: media_player.fire_tv_bedroom
card_mod:
style: |
ha-card {
--ha-card-background: black;
color: orange;
}
and here is what I tried adding to the custom tv card above (pulled from the docs of the github address listed above)
type: entities
entities:
- entity: input_boolean.tv
name: TV
tap_action:
action: fire-dom-event
browser_mod:
command: popup
style:
border-radius: 20px
'--ha-card-border-radius': 0px
title: TV Fernbedienung
card
I created a toggle helper to create an Input Boolean entity for this as well and replaced the entity section of the code to match that of mine this changes the card to a toggle but does not actually do anything. I also tried making a button helper and stating that as my entity, which then changes the card to a button style but again does not provide a popup. also tried changing the action to call-service with the service stated as browser_mod.popup as I’ve seen done in other post but does not seem to affect the issue.
like I said I’m still pretty new to this stuff so I’m sure the answer is pretty basic, but I have no idea what I’m doing wrong, and any help would be appreciated.