mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update Efergy sensor component configuration (#7403)
This commit is contained in:
parent
ebddedaae4
commit
85dff9f3a8
@ -45,16 +45,43 @@ sensor:
|
|||||||
- type: current_values
|
- type: current_values
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
app_token:
|
||||||
- **app_token** (*Required*): The App Token for your account.
|
description: The App Token for your account.
|
||||||
- **utc_offset** (*Required*): Some variables (currently only the daily_cost) require that the negative number of minutes your timezone is ahead/behind UTC time.
|
required: true
|
||||||
- **monitored_variables** array (*Required*): Variables to monitor.
|
type: string
|
||||||
- **type** (*Required*): Name of the variable.
|
utc_offset:
|
||||||
- **instant_readings**: Instant energy consumption.
|
description: Some variables (currently only the daily_cost) require that the negative number of minutes your timezone is ahead/behind UTC time.
|
||||||
- **budget**: Monthly budget.
|
required: false
|
||||||
- **cost**: The cost for energy consumption (with the tariff that has been set in Efergy) over a given period.
|
default: 0
|
||||||
- **amount**: The amount of energy consumed over a given period.
|
type: string
|
||||||
- **current_values**: This returns the current energy usage of each device on your account, as `efergy_\<sid of device\>`. If you only have one device in your account, this is effectively the same as instant_readings.
|
monitored_variables:
|
||||||
- **period** (*Optional*): Some variables take a period argument. Valid options are "day", "week", "month", and "year".
|
description: Variables to monitor.
|
||||||
- **currency** (*Optional*): This is used to display the cost/period as the unit when monitoring the cost. It should correspond to the actual currency used in your dashboard.
|
required: true
|
||||||
|
type: list
|
||||||
|
keys:
|
||||||
|
type:
|
||||||
|
description: Name of the variable.
|
||||||
|
required: true
|
||||||
|
type: list
|
||||||
|
keys:
|
||||||
|
instant_readings:
|
||||||
|
description: Instant energy consumption.
|
||||||
|
budget:
|
||||||
|
description: Monthly budget.
|
||||||
|
cost:
|
||||||
|
description: The cost for energy consumption (with the tariff that has been set in Efergy) over a given period.
|
||||||
|
amount:
|
||||||
|
description: The amount of energy consumed over a given period.
|
||||||
|
current_values:
|
||||||
|
description: This returns the current energy usage of each device on your account, as `efergy_\<sid of device\>`. If you only have one device in your account, this is effectively the same as instant_readings.
|
||||||
|
period:
|
||||||
|
description: Some variables take a period argument. Valid options are "day", "week", "month", and "year".
|
||||||
|
required: false
|
||||||
|
default: year
|
||||||
|
type: string
|
||||||
|
currency:
|
||||||
|
description: This is used to display the cost/period as the unit when monitoring the cost. It should correspond to the actual currency used in your dashboard.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user