mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
Remove information about deprecated properties in switch (#2322)
This commit is contained in:
parent
1efe6aeb11
commit
202dda206a
@ -17,15 +17,6 @@ Properties should always only return information from memory and not do I/O (lik
|
||||
| ---- | ---- | ------- | -----------
|
||||
| is_on | boolean | `None` | If the switch is currently on or off.
|
||||
|
||||
## Deprecated properties
|
||||
|
||||
The following properties are deprecated and should not be used by new integrations. Provide them as sensors instead.
|
||||
|
||||
Name | Type | Default | Description
|
||||
| ---- | ---- | ------- | -----------
|
||||
| current_power_w | float | `None` | The current power usage in W.
|
||||
| today_energy_kwh | float | `None` | Total energy usage in kWh.
|
||||
|
||||
## Methods
|
||||
|
||||
### Turn on
|
||||
|
Loading…
x
Reference in New Issue
Block a user