jabesq-org / pyatmo

Simple API to access Netatmo weather station data from any python script (for Netatmo information, see www.netatmo.com)
MIT License
27 stars 29 forks source link

Support for energy data in case of peak/off_peak home, filtering of therm schedule, some alignement for Legrand device types for power and energy support #490

Closed tmenguy closed 8 months ago

tmenguy commented 8 months ago

Hi,

Here is a contribution to have a more advanced support for energy handling, filtering on schedules (they are of multiple types and the current implementation spirit was really only for temperature schedules.

My goal here is to add support for energy in Homeassitant (as the power measurement are not accurate enough compared to what the netatmo/legrand app is returning)

Hope I'm not breaking stuff with this, @cgtobi here is the first part of the contribution I was mentioning to you, will work then on the netatmo custom part.

BR Thomas