mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +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).
|
description: The entity ID of the sensor providing utility readings (energy, water, gas, heating).
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
name:
|
||||||
|
description: The friendly name to use in the GUI.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
cycle:
|
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.
|
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
|
required: true
|
||||||
@ -127,12 +131,14 @@ Sensor `sensor.daily_energy_peak`, `sensor.daily_energy_offpeak`, `sensor.monthl
|
|||||||
utility_meter:
|
utility_meter:
|
||||||
daily_energy:
|
daily_energy:
|
||||||
source: sensor.energy
|
source: sensor.energy
|
||||||
|
name: Daily Energy
|
||||||
cycle: daily
|
cycle: daily
|
||||||
tariffs:
|
tariffs:
|
||||||
- peak
|
- peak
|
||||||
- offpeak
|
- offpeak
|
||||||
monthly_energy:
|
monthly_energy:
|
||||||
source: sensor.energy
|
source: sensor.energy
|
||||||
|
name: Monthly Energy
|
||||||
cycle: monthly
|
cycle: monthly
|
||||||
tariffs:
|
tariffs:
|
||||||
- peak
|
- peak
|
||||||
@ -178,21 +184,27 @@ So, tracking daily and monthly consumption for each sensor, will require setting
|
|||||||
utility_meter:
|
utility_meter:
|
||||||
daily_energy_offpeak:
|
daily_energy_offpeak:
|
||||||
source: sensor.energy_consumption_tarif_1
|
source: sensor.energy_consumption_tarif_1
|
||||||
|
name: Daily Energy (Offpeak)
|
||||||
cycle: daily
|
cycle: daily
|
||||||
daily_energy_peak:
|
daily_energy_peak:
|
||||||
source: sensor.energy_consumption_tarif_2
|
source: sensor.energy_consumption_tarif_2
|
||||||
|
name: Daily Energy (Peak)
|
||||||
cycle: daily
|
cycle: daily
|
||||||
daily_gas:
|
daily_gas:
|
||||||
source: sensor.gas_consumption
|
source: sensor.gas_consumption
|
||||||
|
name: Daily Gas
|
||||||
cycle: daily
|
cycle: daily
|
||||||
monthly_energy_offpeak:
|
monthly_energy_offpeak:
|
||||||
source: sensor.energy_consumption_tarif_1
|
source: sensor.energy_consumption_tarif_1
|
||||||
|
name: Monthly Energy (Offpeak)
|
||||||
cycle: monthly
|
cycle: monthly
|
||||||
monthly_energy_peak:
|
monthly_energy_peak:
|
||||||
source: sensor.energy_consumption_tarif_2
|
source: sensor.energy_consumption_tarif_2
|
||||||
|
name: Monthly Energy (Peak)
|
||||||
cycle: monthly
|
cycle: monthly
|
||||||
monthly_gas:
|
monthly_gas:
|
||||||
source: sensor.gas_consumption
|
source: sensor.gas_consumption
|
||||||
|
name: Monthly Gas
|
||||||
cycle: monthly
|
cycle: monthly
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user