Amber Electric - Change the colour of a light based on the current electricity price

@madpilot Is there a way to currently indicate if there is a demand window active? Is that something that is exposed through the API?

Yeah, there is a Boolean called demandWindow in the tariffInformation object in the attributes.

{{ state_attr('sensor.amber_general_price', 'tariffInformation').demandWindow }}

Will probably do it. My account doesn’t have a demand window to confirm

1 Like