Hi there, I´m new in home assistant, building my dashboard. My actual problem:
I want to show the temperature from a aquara temperature sensor at a glace (that works) but on tap I would like top open the more-info dialog of a climate device.
Any Ideas for that case?
Thank you VDRainer, I´ll give it a try, was out of order the last days!
not really sure whats wrong but it dit not work for me
entities:
- entity: sensor.terrasse_temperatur
name: Aussen
- entity: sensor.wohnbereich_temperatur
name: Wohnen
tap_action:
action: call-service
service: browser_mod.more_info
service_data:
entity_id: climate.wohnzimmer
- entity: sensor.schlafzimmer_temperatur
name: Schlafen
show_icon: true
show_name: true
show_state: true
type: glance
I copied your code exactly in a new card , replaced the entities and it works.
Any errors in the logs, or in the browsers dev console (F12)?
Your right, sorry! I tested it in a desktop chrome, I thought it would be the same (desktop / mobile).
But I have an other problem, when I open the more-info dialog in this way on my phone, it also opens at my tablet dashboard, when I close it on my phone its still open on my tab. I would like to have this function on all of my devices but only on my active device in my hands right now.
Then you should provide the deviceID in your service call.
...
service_data:
entity_id: climate.wohnzimmer
deviceID:
- this
Works perfect, thank you very much!
Hi there,
I’m trying to work with the browser_mod but I can’t seem to make it work.
I have an image with a switch entity on it and I want that when I do ‘hold_action’ it will open a different entity.
I have tried a couple of things:
- this is just open the more info of the switch:
# AC
- entity: switch.living_room_ac_switch
style:
left: 63%
top: 57%
tap_action:
action: toggle
- this doesn’t do anything with hold_action
# AC
- entity: switch.living_room_ac_switch
style:
left: 63%
top: 57%
tap_action:
action: toggle
hold_action:
action: call-service
service: browser_mod.more_info
service_data:
entity_id: climate.living_room_ac
deviceid:
- this
type: state-icon
icon: 'mdi:air-conditioner'
- tries to open a card but closed immediately while doing hold_action(on mobile it opens switch more_info):
# on top of view file I added:
popup_cards:
switch.living_room_ac_switch:
card:
- type: entity
entity: climate.living_room_ac
would love some help here, thanks!
I have a simlar problem to yours.
in my case when I hold it opens a pop up card but very small
this in my code
I’m trying to have card that toggle a shelly and on hold opens hue light properties
type: custom:homekit-card
entities:
- entities:
- hold_action:
action: call-service
service: browser_mod.popup
service_data:
card:
entity: light.100_giardino_hue
type: custom:light-popup-card
title: Luce Giardino
entity: switch.100_giardino
title: Lights
any help appreciated!
Hi everyone I have been trying to get more_info of a different entity when I click an entity in glance card, this is what I have but it’s not doing anything.
type: glance
entities:
- entity: xyz
tap_action:
action: call-service
service: browser_mod.more_info
service_data:
entity_id: abc
deviceid:
- this
show_name: false
show_icon: false
state_color: false
For anyone who comes here and is trying to figure out how to do it using browser mod 2:
- entity: sensor.gj_location
tap_action:
action: fire-dom-event
browser_mod:
service: browser_mod.more_info
data:
entity: sensor.gj_beacon_monitor
That’s opening a different entity in the current browser
I just tried to do it the easy way and it just worked.
type: button
entity: switch.outside_lamp
tap_action:
action: more-info
entity: sensor.outside_lamp_power
...
This worked for me no problem.
You are a Hero!
Is this still working for you?
The solution of @FajnB doesn’t work for me. The “entity” under the more-info action just gets ignored, and I see more-info for the entity associated with the card (which is a tile card in my case).
Strange… I followed the instructions, registered the browser, cleared cache, refreshed and I feel a buzz on my phone when i tap the entity, but nothing pops up…
- entity: sensor.pool_heater_power_level
tap_action:
action: call-service
service: browser_mod.more_info
service_data:
entity_id: climate.pool_heater_2
attribute: message
type: custom:secondaryinfo-entity-row
secondary_info: |-
<style='color:darkgray'> <i>Target Temp [[
sensor.pool_target_temperature_2 ]]°c</i></style> <br>
<style='color: darkgray'><i>Current Temp
[[ sensor.pool_current_temperature ]]°c <br> Pumping at
[[ sensor.pool_heater_outlet_water_temperature ]]°c </style>
I realize this is an old thread, but it seemed there wasn’t resolution.
I can say that this works today on 2024.7.2 and browser_mod 2.3.0 (hold brings up more-info from different entity):
type: custom:mushroom-template-card
primary: Outdoor Tool Chargers
secondary: |-
{% if is_state('switch.garage_window_plug_2', 'off') %}
off
{% endif %}
{% if is_state('switch.garage_window_plug_2', 'on') %}
on - {{ states('sensor.garage_window_plug_electric_consumption_w_2') }} W
{% endif %}
icon: mdi:power-plug
entity: switch.garage_window_plug_2
multiline_secondary: false
icon_color: |-
{% if is_state('switch.garage_window_plug_2', 'off') %}
grey
{% endif %}
{% if is_state('switch.garage_window_plug_2', 'on') %}
amber
{% endif %}
tap_action:
action: toggle
hold_action:
action: call-service
service: browser_mod.more_info
target: {}
data:
entity: sensor.garage_window_plug_electric_consumption_w_2