home-assistant_OctopusAgile icon indicating copy to clipboard operation
home-assistant_OctopusAgile copied to clipboard

Potential issue in timer code?

Open JessFairbairn opened this issue 4 years ago • 1 comments
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

JessFairbairn avatar May 27 '21 10:05 JessFairbairn

You’re totally right, that can’t work. I think it’s an indentation issue!

markgdev avatar Jun 03 '21 21:06 markgdev