Advertisement
Guest User

Untitled

a guest
May 7th, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. Logger: homeassistant.helpers.script.websocket_api_script
  2. Source: components/surepetcare/__init__.py:162
  3. First occurred: 10:04:58 AM (1 occurrences)
  4. Last logged: 10:04:58 AM
  5.  
  6. websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'Surepy' object has no attribute 'unlock'
  7. Traceback (most recent call last):
  8. File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 363, in _async_step
  9. await getattr(self, handler)()
  10. File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 563, in _async_call_service_step
  11. await service_task
  12. File "/usr/src/homeassistant/homeassistant/core.py", line 1481, in async_call
  13. task.result()
  14. File "/usr/src/homeassistant/homeassistant/core.py", line 1516, in _execute_service
  15. await handler.job.target(service_call)
  16. File "/usr/src/homeassistant/homeassistant/components/surepetcare/__init__.py", line 102, in handle_set_lock_state
  17. await spc.set_lock_state(call.data[ATTR_FLAP_ID], call.data[ATTR_LOCK_STATE])
  18. File "/usr/src/homeassistant/homeassistant/components/surepetcare/__init__.py", line 162, in set_lock_state
  19. await self.surepy.unlock(flap_id)
  20. AttributeError: 'Surepy' object has no attribute 'unlock'
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement