JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
Apache License 2.0
173 stars 28 forks source link

Ignore all current and future entities from being added to average entity attributes #67

Closed sfstar closed 1 year ago

sfstar commented 1 year ago

As mentioned in #63 the avg sensor attributes contain the entity values of all not explictly omitted entities provided by this integration. This PR goes through the list and adds to the attribute skip check by excluding all values that are provided by dedicated entities in order to reduce update interval and data duplication.