This issue is for the switch platform of the smappee integration.
The switch integration has embedded sensors for energy usage. This is no longer the preferred approach. Integrations using this approach should turn this data into standalone sensors.
This is important because Home Assistant is going to introduce home energy management (HEM) in 2021.8. HEM will be able to consume the data if it is exposed as standalone sensors.
This issue is for the switch platform of the smappee integration.
The switch integration has embedded sensors for energy usage. This is no longer the preferred approach. Integrations using this approach should turn this data into standalone sensors.
This is important because Home Assistant is going to introduce home energy management (HEM) in 2021.8. HEM will be able to consume the data if it is exposed as standalone sensors.
To make sure that the sensors that represent total kWh is usable for HEM, set
state_class
toSTATE_CLASS_TOTAL_INCREASING
. See sensor documentation for more information.Link to the architecture discussion.