api: url: http://192.168.1.202:8123/api long_lived_token: "Put your secret token here" ssl_certificate: "Your SSL Certificate" localization: latitude: 48.430883803968456 longitude: -2.2153649964972693 altitude: 100 timeZone: Europe/Paris server: loglevel: debug loopDelay: 30 network: homeassistant # Define the type of network API used to control the home energy. strategies: # Define the algorithm used to control the home energy. - {class: offpeak, id: offpeak} network: nodes: - {id: linky, currentPower: sensor.lixee_zlinky_tic_puissance_apparente, powerMargin: 2500, maxPower: 9000, minPower: 0, class: PublicPowerGrid, contract: {class: RTETempo, offpeakhoursranges: ["22h05 - 6h"]} } - {id: voiture, strategy: offpeak, class: switch, isOn: switch.voiture, currentPower: sensor.voiture_puissance, maxPower: 2300, constraints: {minPower: 1, minPowerDelay: 60}}