Code Monkey home page Code Monkey logo

home_assistant_petcare's Introduction

Hi there, I am Daniel! GitHub followers

I am Daniel Hjelseth Høyer and I work as Data Scientist in Tibber. Tibber is a smart home and energy supplier. My work evolves machine learning. 

I am also an active contributor to Home Assistant


GitHub stats

home_assistant_petcare's People

Contributors

danielhiversen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

home_assistant_petcare's Issues

No Locks created

When adding this integration either via UI or config.yaml, it only generates two sensors (one for the hub and one for the cat) - there are no locks created. There are no entries in the logs.

Lock entities failing

Hi,

I have the Sure Petcare integration up and running and everything works perfectly apart from locking the cat flap. It doesn't matter which lock I try to activate (all, in, or out) they all throw the following error:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/surepetcare/lock.py:88
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12 May 2022, 23:59:33 (1 occurrences)
Last logged: 12 May 2022, 23:59:33

[139883864825472] ERROR (UN)LOCKING DEVICE - PLEASE CHECK IMMEDIATELY!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 189, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1627, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1664, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/surepetcare/lock.py", line 88, in async_lock
await self.coordinator.lock_states_callbacksself._lock_state
File "/usr/local/lib/python3.9/site-packages/surepy/client.py", line 343, in lock_in
return await self._set_lock_state(device_id, LockState.LOCKED_IN)
File "/usr/local/lib/python3.9/site-packages/surepy/client.py", line 373, in _set_lock_state
raise SurePetcareError("ERROR (UN)LOCKING DEVICE - PLEASE CHECK IMMEDIATELY!")
surepy.exceptions.SurePetcareError: ERROR (UN)LOCKING DEVICE - PLEASE CHECK IMMEDIATELY!

I'm a relative beginner here so I have no idea where to start with debugging. If anyone could talk me through the next steps then I'd really appreciate it.

Many thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.