If you mean the 4 entities at the right it should do toggle
on tap, and more-info
on hold as default.
edit:
sorry I get you now, I have not use popup cards before, I would have to look into how they work, Iāll add it to my list of things to look at.
@badgerhome heres the latest version, lost has changed, so look at the example.
I have changed the way sensor labels work, you now use them via sensor_label_1
, sensor_label_2
, sensor_label_3
.
have added ulm_card_room_use_label_icons
itās false
as default, bit if enable it looks like this (atm this only supports Temp, Humidity, Lux):
you no longer need ulm_card_room_label_use_brightness
if you include a bulb as the main room entity, it will automatically pick it up, and use the brightness when the bulb is on
.
and as you can see you can now put any sensor in the the sensor labels, and it will try to detect the type and report the correct label.
you can now use ulm_card_room_use_light_color: true
when the light supports colour and it will use the current bulb color as the entity on colour.
as you might have seen my card uses slightly larger font for label than the original you can revert back to the original label font size by using ulm_card_room_use_small_label_font: true
in the 6 sensor iconās you can use to choose the action type default is more-info
tap_action:
action: toggle
or
tap_action:
action: more-info
hereās an example of my front garden
- type: custom:button-card
view_layout:
grid-area: room1
template:
- custom_card_andyblac_room
- green_no_state
name: Front Garden
icon: mdi:flower
tap_action:
action: navigate
navigation_path: front-garden
variables:
sensor_label_1: sensor.front_garden_motion_sensor_temperature
sensor_label_2: sensor.front_garden_soil_sensor_humidity
sensor_label_3: sensor.front_garden_motion_sensor_illuminance_lux
sensor_1:
entity_id: binary_sensor.front_door
ulm_card_room_sensor_color: green
sensor_2:
entity_id: binary_sensor.front_garden_motion_sensor_occupancy
ulm_card_room_sensor_color: green
sensor_3:
entity_id: switch.front_garden_water_control
ulm_card_room_sensor_color: green
tap_action:
action: toggle
entity_3:
entity_id: light.front_garden_light
ulm_card_room_use_light_color: true
I am starting to work on animations with the main room icon and entities icons.
it starts to animate when my boiler fires for hot water (detected via OpenTherm Gateway)
I would love your feed back, I plan to start a git with this card and animation templates so it will be easier for people to keep uptodate.