Skip to content

Commit

Permalink
fix: rollback implementation for #98, defective
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mason committed Dec 17, 2019
1 parent afbd80f commit 66a7a00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/entity_controller/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ async def async_setup(hass, config):
dest='idle')
machine.add_transition(trigger='control', source='active_timer',
dest='idle', conditions=['is_state_entities_off'])
machine.add_transition(trigger='control', source='active_timer',
dest='blocked', conditions=['is_state_entities_on'])
# machine.add_transition(trigger='control', source='active_timer',
# dest='blocked', conditions=['is_state_entities_on'])

# machine.add_transition(trigger='sensor_off', source='active_stay_on', dest=None)
machine.add_transition(trigger='timer_expires', source='active_stay_on',
Expand Down

0 comments on commit 66a7a00

Please sign in to comment.