home-assistant_OctopusAgile
home-assistant_OctopusAgile copied to clipboard
Potential issue in timer code?
trafficstars
Hi, I've been reviewing the timer code and spotted this line, it's possible I'm misunderstanding but it looks like a requirement won't be processed if the day_to attribute is set to "today"? Apologies if this is intentional still getting my head around the codebase.
https://github.com/markgdev/home-assistant_OctopusAgile/blob/ae4b8ee281648ab42fc6cc64d24859e66b70cc28/custom_components/octopusagile/init.py#L146
You’re totally right, that can’t work. I think it’s an indentation issue!