Closed Michelone86 closed 5 months ago
Hi @neilimixamo, any ideas for me? Thanks βπ»
Hi @Michelone86, yes, your request is totally doable. I'll make sure to give you a detailed response tonight. Is your remote view part of the QLM dashboard, or is it in another Home Assistant dashboard ?
Hi @neilimixamo, that remote control belongs to a tab of another Dashboard, but only because I'm not able to make it in your qlm Dashboard... It would be nice if it were native in your Dashboard, it could also open with a popup effect π
Hi @neilimixamo, that remote control belongs to a tab of another Dashboard, but only because I'm not able to make it in your qlm Dashboard... It would be nice if it were native in your Dashboard, it could also open with a popup effect π
Here is how i integrated the TV remote in my dashboard by double clicking on the green TV card
@neilimixamo it's beautiful, I really like it π
Ok, so, if you want to access the view of another dashboard via the routine cards as you asked, copy its URL, let's say "/lovelace/remote", update the "routines_footer.yaml" template with the code below, then add the "navigation_path" variable in your Home view like this :
- type: custom:button-card # FOOTER
view_layout:
grid-area: footer
template: routines_footer
variables:
routine1_entity: #optional
routine1_name: #optional
routine1_background_color: #optional
routine1_icon_color: #optional
routine1_navigation_path: /lovelace/remote
Now, personally, I am a big fan of @PRProd Doug's 'fireremote' card, which allows importing the look and feel of a wide variety of existing remote controls. For me, I chose the 'chromecast-4k' remote and created this dedicated view for the remote :
I opted to call this view remote from a media card dedicated to my TV where you can see that the navigation_path only includes the name of the view because it is integrated into the QLM dashboard like this :
- type: custom:button-card
template: media
variables:
entity: media_player.lounge_tv_debug
remote: remote.lounge_tv
name: TV
label: '[[[ return states["media_player.lounge_tv_debug"].attributes.app_name; ]]]'
name_double_tap_action:
action: navigate
navigation_path: media_tv_remote
There's also a dashboard template dedicated to remote controls available on the official Home Assistant website.
Ok everything works, thank you very much @neilimixamo, you are always very kind ππ
CIAO@neilimixamo, quel telecomando appartiene ad una scheda di un'altra Dashboard, ma solo perchΓ© non riesco a farlo nella tua Dashboard qlm... Sarebbe carino se fosse nativo nella tua Dashboard, si potrebbe aprire anche con un effetto popup π
Ecco come ho integrato il telecomando della TV nella mia dashboard facendo doppio clic sulla scheda TV verde
Registratore dello schermo-2024-05-29-14-08-18-517.mp4
Hi @neilimixamo, I'm going crazy to do something.. when I activate the QLM theme, unfortunately I lose the menu at the top right that allows me to update the Dashboard after making some changes. I saw in this video that you have a "reload" type icon. Could you please tell me what is the command to refresh the page? Thank you π
Hi, the following code used to allow me to refresh the page :
tap_action:
action: call-service
service: browser_mod.javascript
service_data:
code: lovelace_reload()
target:
device_id:
However, it isn't working anymore for me now and I haven't found a fix yet. Therefore, I need to activate the default theme when I perform regular refreshes and then I switch back to the QLM theme once my testing phase is over.
If I find a solution, I will keep you informed.
Ok thanks, I hope you can find an ingenious solution ππͺπ»
Hi Neil, I created a card dedicated to my TV remote control. How can I call her when I click on one of these buttons? Thank you!