rmanky / water-heater-card

Water Heater card for Home Assistant's Lovelace UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Water Heater Card for Lovelace

beta_badge hacs_badge

A water heater card for Home Assistant's Lovelace UI, directly based on the simple-thermostat card. Hopefully this, or a similar card, will get integrated into Home Assistant as one of the included cards.

Example water heater card

Support

This is a community developed Lovelace card, if you want features please implement them and submit a Pull Request.

Not Implemented

  • vacation/away mode support
  • operation mode icons

Installation

Make sure that Home Assistant Community Store (HACS) is setup, then add the "Lovelace" repository: rsnodgrass/water-heater-card

Configuration Options

  • entity string: The water_heater entity id required
  • name string|false: Override the card name, or disable showing a name at all. Default is to use the friendly_name of the thermostat provided
  • sensors array
    • entity string: A sensor value entity id
    • name string: Specify a sensor name to use instead of the default friendly_name
    • icon string: Specify an icon to use instead of a name
    • attribute string: The key for an attribute to use instead of state. If this sensor has no entity it will use the main entity's attributes
    • unit string: When specifying an attribute you can manually set the unit to display

Example

entity: water_heater.rheem_50g
type: 'custom:simple-thermostat'
step_layout: row

Advanced Example

cards:
  - type: 'custom:water-heater-card'
    entity: water_heater.bradford_white_50g
    sensors:
      - entity: sensor.fibaro_system_fgwpef_wall_plug_gen5_energy
      - entity: sensor.fibaro_system_fgwpef_wall_plug_gen5_power
        name: Energy today

Theme Control

For consistency, this shares the same CSS theme controls as simple-thermostat card.

About

Water Heater card for Home Assistant's Lovelace UI

License:MIT License


Languages

Language:JavaScript 95.5%Language:CSS 4.5%