Remove reference to template sensors (#26704)

This commit is contained in:
WebSpider 2023-03-26 13:23:50 +02:00 committed by GitHub
parent fc83da7404
commit 00c3750da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 32 deletions

View File

@ -26,19 +26,3 @@ The SolarEdge Monitoring API has a daily rate limit of 300 requests. In order to
{% include integrations/config_flow.md %}
## Additional template sensor
In case you would like to convert the values for example to kWh instead of the default Wh, you can use the [template platform](/integrations/template).
{% raw %}
```yaml
# Example configuration.yaml entry for template platform
template:
- sensor:
- name: solaredge_energy_this_year_template
unit_of_measurement: kWh
state: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}"
```
{% endraw %}

View File

@ -63,19 +63,3 @@ sensor:
name: SolarEdge
ip_address: 192.168.1.123
```
In case you would like to convert the values for example to kWh instead of the default Wh, you can use the [template platform](/integrations/template).
{% raw %}
```yaml
# Example configuration.yaml entry for sensor template platform
template:
- sensor:
- name: solaredge_energy_this_year_template
state: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}"
unit_of_measurement: "KWh"
icon: "mdi:solar-power"
```
{% endraw %}