mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
parent
0581ad2c3a
commit
18e04289dd
@ -89,6 +89,7 @@ Adapted from the [TP-Link integration](https://www.home-assistant.io/integration
|
||||
```yaml
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
vesync_switch_watts:
|
||||
friendly_name_template: "{{ states.switch.vesync_switch.name}} Current Consumption"
|
||||
value_template: '{{ states.switch.vesync_switch.attributes["current_power_w"] | float }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user