home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.37k stars 29.9k forks source link

Extract edimax switch energy attributes into sensors #53311

Open balloob opened 3 years ago

balloob commented 3 years ago

This issue is for the switch platform of the edimax 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 to STATE_CLASS_TOTAL_INCREASING. See sensor documentation for more information.

Link to the architecture discussion.

probot-home-assistant[bot] commented 3 years ago

edimax documentation edimax source (message by IssueLinks)

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Jasper2991 commented 1 year ago

Will the separate energy sensors be added for Edimax?

peterb99 commented 4 months ago

when will the energy and power data of edimax be implemented ? The current EDIMAX document page in home assistant still shows code examples that do not work.

cnsxxx09 commented 1 week ago

Also interested in seeing this working - though to be honest I wish I would have simply stuck with Fritz Plugs, they work seamlessly and are more extensive.