Tile card with water-heater integration

Hi

I tried a water_heater integration with a tile card

This is my configuration

features:
  - type: target-temperature
  - type: water-heater-operation-modes
    operation_modes:
      - heating
      - hot_water_boost
      - hot_water_only
      - stand_by
type: tile
entity: water_heater.casa_ale
name: Acqua calda
color: primary
hide_state: false
show_entity_picture: false
vertical: false
state_content:
  - state
  - last-changed

As you can see, it has 4 operation modes and this is the result

Schermata 2023-12-11 alle 17.06.26

The four operation modes are in the last line, the one with the yellom button. On the right there are the other 3 buttons that are almost invisible.

Passing with the mouse on each button, it will appear a small popup with the mode name

Is it possible to
have the mode name inside the button
have the button color chosen in the editor
have the other buttons more visible (I tried also other themes)

Thanks

Good job finally convincing the forum to let you post this :wink:

The features page lists a number of “available” operation modes under the water heater operation modes section, I suspect that if you choose anything outside of this acceptable list, it won’t have an icon to go with it:
Features for dashboard cards - Home Assistant (home-assistant.io)

I’ve not used this feature before, but is there some way you can map the HA mode (which has a suitable icon) to a device mode? There doesn’t seem to be anything in the documentation about an icon setting. Might be worth a shot and see if you can force it though?

Try it like this:

features:
  - type: target-temperature
  - type: water-heater-operation-modes
    style: icons
    operation_modes:
      - heating
      - hot_water_boost
      - hot_water_only
      - stand_by

Or like this:

features:
  - type: target-temperature
  - type: water-heater-operation-modes
    style: dropdown
    operation_modes:
      - heating
      - hot_water_boost
      - hot_water_only
      - stand_by

It works for climate entities, not sure about water heaters.

Untitled

The ability to add custom icons for modes is coming in a future release.

Thanks @tom_l

It does work with a climate entity, but not with a water_heater one.
Using icons or dropdown has no effect on what I see

1 Like

Have you found a solution for this yet?

No, I haven’t found a solution…