-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Describe the bug
I have two target timeframes setup, one for 1.5 hours, the other for 3 hours.
The setup of both of them is identical, they are continuous targets, re-evaluated multiple times a day, and set to always mode. Max rate 14.5p (although shows rounded as 15p in the attributes)
I am on Octopus Cosy, so 2 hour cheap period form 10-midnight which the 1.5 hour sensor is finding fine, and then 3 hours cheap from 4-7 which I would expect the 3 hour sensor to find but it is not.
1.5 hour sensor:
3 hour sensor:
Octopus Cosy rates:
Reproduction steps
Create a target timeframe sensor configured as follows:
Expected behaviour
I would expect the 3 hour sensor to find the 4-7am Cosy cheap rate period
Integration Version
1.4.0
Home Assistant Version
2025.9.4
Fresh Install?
Not specified
Home Assistant Logs
Turned on debug log, reloaded the integration, waited for the target timeframe sensors to update
home-assistant_target_timeframes_2025-10-30T21-39-06.891Z.log
Confirmation
- I confirm that I cannot find my solution within the documentation
- I confirm that I cannot find my solution within the FAQ