Update documentation for friendly names in SolarEdge sensor (#8193)

This commit is contained in:
Louis Matthijssen 2019-01-22 13:10:55 +01:00 committed by Franck Nijhof
parent a10c698518
commit 5d7ad0326d

View File

@ -32,7 +32,7 @@ sensor:
site_id: SITE_ID site_id: SITE_ID
monitored_conditions: monitored_conditions:
- current_power - current_power
- last_day_data - energy_today
``` ```
{% endraw %} {% endraw %}
@ -56,13 +56,13 @@ monitored_conditions:
type: list type: list
default: current_power default: current_power
keys: keys:
life_time_data: lifetime_energy:
description: Lifetime energy generated at your SolarEdge Site in Wh description: Lifetime energy generated at your SolarEdge Site in Wh
last_year_data: energy_this_year:
description: Energy generated this year at your SolarEdge Site in Wh description: Energy generated this year at your SolarEdge Site in Wh
last_month_data: energy_this_month:
description: Energy generated this month at your SolarEdge Site in Wh description: Energy generated this month at your SolarEdge Site in Wh
last_day_data: energy_today:
description: Energy generated today at your SolarEdge Site in Wh description: Energy generated today at your SolarEdge Site in Wh
current_power: current_power:
description: Current generated power in W description: Current generated power in W
@ -84,10 +84,10 @@ sensor:
name: SolarEdge name: SolarEdge
monitored_conditions: monitored_conditions:
- current_power - current_power
- last_day_data - energy_today
- last_month_data - energy_this_month
- last_year_data - energy_this_year
- life_time_data - lifetime_energy
``` ```
{% endraw %} {% endraw %}
@ -99,7 +99,7 @@ In case you would like to convert the values for example to kWh instead of the d
sensors: sensors:
platform: template platform: template
sensors: sensors:
solaredge_last_year_data_template: solaredge_energy_this_year_template:
value_template: '{{(states.sensor.solaredge_last_year_data.state | float / 1000) | round(2)}}' value_template: '{{(states.sensor.solaredge_energy_this_year.state | float / 1000) | round(2)}}'
``` ```
{% endraw %} {% endraw %}