Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any updates on this? Can't toggle lights #8

Open
mattbruman opened this issue Nov 16, 2020 · 0 comments
Open

Any updates on this? Can't toggle lights #8

mattbruman opened this issue Nov 16, 2020 · 0 comments

Comments

@mattbruman
Copy link

Installed and everything works except being able to toggle lights at all, Getting

'msg' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1448, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1483, in _execute_service await handler.job.target(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service await self.hass.helpers.service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 482, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 519, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 699, in async_turn_off await self.hass.async_add_executor_job(ft.partial(self.turn_off, **kwargs)) File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/aerogarden/light.py", line 42, in turn_off self._aerogarden.light_toggle(self._macaddr) File "/config/custom_components/aerogarden/__init__.py", line 126, in light_toggle self._error_msg = "Didn't get code 1 from update API call: %s" % (results["msg"]) KeyError: 'msg'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant