thomasloven / hass-browser_mod

🔹 A Home Assistant integration to turn your browser into a controllable entity and media player
MIT License
1.33k stars 187 forks source link

Can I get the browser_id of the current browser in a template? #582

Open JelkeH opened 1 year ago

JelkeH commented 1 year ago

I would like to be able to control the brightness of the current browser by a slider using the light.<<browser_id>>_screen entity. Something like:

type: entities
entities:
  - type: custom:slider-entity-row
    entity: light.{{browser_id}}_screen

Would something like this be possible? I hope the get this working, but currently I'm stuck at being able to retrieve the current browser_id

jdtechsol commented 1 year ago

+1 this

ViRuSTriNiTy commented 9 months ago

https://github.com/thomasloven/hass-browser_mod/issues/631#issuecomment-1791956956 might be a solution