mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update Loopenergy sensor component configuration (#7191)
This commit is contained in:
parent
7df075a08f
commit
4754829077
@ -52,14 +52,34 @@ sensor:
|
||||
gas_secret: 'GAS_SECRET'
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **electricity_serial** (*Required*): Serial number of your electricity sensor
|
||||
- **electricity_secret** (*Required*): Secret key for your electricity sensor
|
||||
- **gas_serial** (*Optional*): Serial number for your gas sensor.
|
||||
- **gas_secret** (*Optional*): Secret key for your gas sensor.
|
||||
- **gas_type** (*Optional*): Type of meter `imperial` or `metric`. Defaults to `metric`.
|
||||
- **gas_calorific** (*Optional*): Calorific value of your gas supply (usually on your gas bill). Defaults to 39.11.
|
||||
{% configuration %}
|
||||
electricity_serial:
|
||||
description: Serial number of your electricity sensor.
|
||||
required: true
|
||||
type: string
|
||||
electricity_secret:
|
||||
description: Secret key for your electricity sensor.
|
||||
required: true
|
||||
type: string
|
||||
gas_serial:
|
||||
description: Serial number for your gas sensor.
|
||||
required: true
|
||||
type: string
|
||||
gas_secret:
|
||||
description: Secret key for your gas sensor.
|
||||
required: true
|
||||
type: string
|
||||
gas_type:
|
||||
description: Type of meter `imperial` or `metric`.
|
||||
required: false
|
||||
default: metric
|
||||
type: string
|
||||
gas_calorific:
|
||||
description: Calorific value of your gas supply (usually on your gas bill).
|
||||
required: false
|
||||
default: 39.11
|
||||
type: float
|
||||
{% endconfiguration %}
|
||||
|
||||
The electricity readings are updated every 10 seconds and the gas readings every 15 minutes.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user