Open more-info of an other entity (climate) at tap on a glace (temp sensor)

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?

This can be done with browser_mod.

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
1 Like

Works perfect, thank you very much!

1 Like

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:

  1. 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
  1. 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'
  1. 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

6 Likes

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.

3 Likes

You are a Hero! :clap:

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>