Bonjour,
J’ai mis en place des pinces ampermétrique Shelly pour suivre ma conso electrique.
Je suis en mode heure pleine / heure creuse et j’aurais souhaité pouvoir « donner » au dashboard energie le coût au kwh en fonction de l’heure et du jour (pour ma part je suis en HC de 1h30 à 7h30 et de 13h a 15 ainsi que les mercredi et weekend.
Et je ne sais pas du tout comment faire ça.
Un script ? un helper ?
Instructions on how to integrate the Utility Meter into Home Assistant.
et plus particulierement la configuration avancée
Advanced Configuration
The following configuration shows an example where 2 utility_meters (daily_energy and monthly_energy) track daily and monthly energy consumptions.
Both track the same sensor (sensor.energy) which continuously monitors the energy consumed.
4 different sensors will be created, 2 per utility meter and corresponding to each tariff. Sensor sensor.daily_energy_peak, sensor.daily_energy_offpeak, sensor.monthly_energy_peak and sensor.monthly_energy_offpeak will automatically be created to track the consumption in each tariff for the given cycle.
The select.daily_energy and select.monthly_energy select entities will track the current tariff and allow changing the tariff.