mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Remove reference to template sensors (#26704)
This commit is contained in:
parent
fc83da7404
commit
00c3750da1
@ -26,19 +26,3 @@ The SolarEdge Monitoring API has a daily rate limit of 300 requests. In order to
|
|||||||
|
|
||||||
{% include integrations/config_flow.md %}
|
{% 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 %}
|
|
||||||
|
@ -63,19 +63,3 @@ sensor:
|
|||||||
name: SolarEdge
|
name: SolarEdge
|
||||||
ip_address: 192.168.1.123
|
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 %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user