Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Logger: homeassistant.helpers.script.websocket_api_script
- Source: components/surepetcare/__init__.py:162
- First occurred: 10:04:58 AM (1 occurrences)
- Last logged: 10:04:58 AM
- websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'Surepy' object has no attribute 'unlock'
- Traceback (most recent call last):
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 363, in _async_step
- await getattr(self, handler)()
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 563, in _async_call_service_step
- await service_task
- File "/usr/src/homeassistant/homeassistant/core.py", line 1481, in async_call
- task.result()
- File "/usr/src/homeassistant/homeassistant/core.py", line 1516, in _execute_service
- await handler.job.target(service_call)
- File "/usr/src/homeassistant/homeassistant/components/surepetcare/__init__.py", line 102, in handle_set_lock_state
- await spc.set_lock_state(call.data[ATTR_FLAP_ID], call.data[ATTR_LOCK_STATE])
- File "/usr/src/homeassistant/homeassistant/components/surepetcare/__init__.py", line 162, in set_lock_state
- await self.surepy.unlock(flap_id)
- AttributeError: 'Surepy' object has no attribute 'unlock'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement