Closed partofthething closed 8 years ago
All the condition stuff has been rewritten in the latest dev. So could you test it with the latest dev version and see if it still occurs ?
I tried it on the dev
branch and... it works! Ok well then I'll just stay here until the release. Thanks.
Any way to add support for for
with numeric_state
? Is there a reason it is only supported with state
?
Home Assistant release (
hass --version
): 0.18.2Python release (
python3 --version
): Python 3.4.2Component/platform: Automation
Description of problem: When I have a
for
clause in my state condition, the state condition is ignored completely. For example, in the automation rule below, this action runs even whengroup.a_lights
ison
and has been for a long time. If I take thefor
clause out, then the action only happens whengroup.a_lights
isoff
. So it seems thefor
clause is somehow breaking this condition.Expected: I would expect the automation rule to not trigger when the
group.a_lights
state ison
.Problem-relevant
configuration.yaml
entries and steps to reproduce: