Minor changes

This commit is contained in:
Fabian Affolter 2018-07-09 16:02:54 +02:00
parent 7640cd1662
commit 009a62a490
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -14,16 +14,21 @@ ha_iot_class: "Cloud Polling"
--- ---
Integrate your [Efergy](https://efergy.com) meter information into Home Assistant. To get an app token: Integrate your [Efergy](https://efergy.com) meter information into Home Assistant.
## {% linkable_title Setup %}
To get an app token:
1. Log in to your efergy account 1. Log in to your efergy account
2. Go to the Settings page 2. Go to the Settings page
3. Click on App tokens 3. Click on App tokens
4. Click "Add token" 4. Click "Add token"
## {% linkable_title Configuration %}
To enable the sensor, add the following lines to your `configuration.yaml`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
@ -52,7 +57,7 @@ negative number of minutes your timezone is ahead/behind UTC time.
- **budget**: Monthly budget. - **budget**: Monthly budget.
- **cost**: The cost for energy consumption (with the tariff that has been set in Efergy) over a given period. - **cost**: The cost for energy consumption (with the tariff that has been set in Efergy) over a given period.
- **amount**: The amount of energy consumed over a given period. - **amount**: The amount of energy consumed over a given period.
- **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. - **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.
- **period** (*Optional*): Some variables take a period argument. Valid options are "day", "week", "month", and "year". - **period** (*Optional*): Some variables take a period argument. Valid options are "day", "week", "month", and "year".
- **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. - **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.