You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please list: Gets error when using relay conditionals:
Trying to deactivate one relay when another turns on
Trying to activate one relay when another turns off
Errors
Error: Actuate Relay: 'ConditionalActions' object has no attribute 'name'
========= Remote Traceback (1) =========
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 305, in _dispatch_request
res = self._HANDLERS[handler](self, *args)
File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 535, in _handle_call
return self._local_objects[oid](*args, **dict(kwargs))
File "/var/www/mycodo/mycodo/mycodo_daemon.py", line 213, in exposed_relay_off
return mycodo.relay_off(relay_id, trigger_conditionals)
File "/var/www/mycodo/mycodo/mycodo_daemon.py", line 561, in relay_off
trigger_conditionals=trigger_conditionals)
File "/var/www/mycodo/mycodo/controller_relay.py", line 328, in relay_on_off
self.check_conditionals(relay_id, duration)
File "/var/www/mycodo/mycodo/controller_relay.py", line 354, in check_conditionals
timestamp, each_cond_action.id, each_cond_action.name)
AttributeError: 'ConditionalActions' object has no attribute 'name'
Steps to Reproduce the issue:
How can this issue be reproduced?
Turning on the relay with the conditionals
...
etc
The text was updated successfully, but these errors were encountered:
Mycodo Issue Report:
Problem Description
Please list: Gets error when using relay conditionals:
Trying to deactivate one relay when another turns on
Trying to activate one relay when another turns off
Errors
Error: Actuate Relay: 'ConditionalActions' object has no attribute 'name'
========= Remote Traceback (1) =========
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 305, in _dispatch_request
res = self._HANDLERS[handler](self, *args)
File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 535, in _handle_call
return self._local_objects[oid](*args, **dict(kwargs))
File "/var/www/mycodo/mycodo/mycodo_daemon.py", line 213, in exposed_relay_off
return mycodo.relay_off(relay_id, trigger_conditionals)
File "/var/www/mycodo/mycodo/mycodo_daemon.py", line 561, in relay_off
trigger_conditionals=trigger_conditionals)
File "/var/www/mycodo/mycodo/controller_relay.py", line 328, in relay_on_off
self.check_conditionals(relay_id, duration)
File "/var/www/mycodo/mycodo/controller_relay.py", line 354, in check_conditionals
timestamp, each_cond_action.id, each_cond_action.name)
AttributeError: 'ConditionalActions' object has no attribute 'name'
Steps to Reproduce the issue:
How can this issue be reproduced?
The text was updated successfully, but these errors were encountered: