mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add name to Utility Meter configuration options (#18525)
This commit is contained in:
parent
20de179fb4
commit
aa3af8e232
@ -40,6 +40,10 @@ source:
|
||||
description: The entity ID of the sensor providing utility readings (energy, water, gas, heating).
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: The friendly name to use in the GUI.
|
||||
required: false
|
||||
type: string
|
||||
cycle:
|
||||
description: How often to reset the counter. Valid values are `quarter-hourly`, `hourly`, `daily`, `weekly`, `monthly`, `bimonthly`, `quarterly` and `yearly`. Cycle value `bimonthly` will reset the counter once in two months.
|
||||
required: true
|
||||
@ -127,12 +131,14 @@ Sensor `sensor.daily_energy_peak`, `sensor.daily_energy_offpeak`, `sensor.monthl
|
||||
utility_meter:
|
||||
daily_energy:
|
||||
source: sensor.energy
|
||||
name: Daily Energy
|
||||
cycle: daily
|
||||
tariffs:
|
||||
- peak
|
||||
- offpeak
|
||||
monthly_energy:
|
||||
source: sensor.energy
|
||||
name: Monthly Energy
|
||||
cycle: monthly
|
||||
tariffs:
|
||||
- peak
|
||||
@ -178,21 +184,27 @@ So, tracking daily and monthly consumption for each sensor, will require setting
|
||||
utility_meter:
|
||||
daily_energy_offpeak:
|
||||
source: sensor.energy_consumption_tarif_1
|
||||
name: Daily Energy (Offpeak)
|
||||
cycle: daily
|
||||
daily_energy_peak:
|
||||
source: sensor.energy_consumption_tarif_2
|
||||
name: Daily Energy (Peak)
|
||||
cycle: daily
|
||||
daily_gas:
|
||||
source: sensor.gas_consumption
|
||||
name: Daily Gas
|
||||
cycle: daily
|
||||
monthly_energy_offpeak:
|
||||
source: sensor.energy_consumption_tarif_1
|
||||
name: Monthly Energy (Offpeak)
|
||||
cycle: monthly
|
||||
monthly_energy_peak:
|
||||
source: sensor.energy_consumption_tarif_2
|
||||
name: Monthly Energy (Peak)
|
||||
cycle: monthly
|
||||
monthly_gas:
|
||||
source: sensor.gas_consumption
|
||||
name: Monthly Gas
|
||||
cycle: monthly
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user