hthiery / homeassistant Goto Github PK
View Code? Open in Web Editor NEWHomeAssistant Custom Components
HomeAssistant Custom Components
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 199, in async_update_ha_state
yield from self.async_device_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/switch/fritzhome.py", line 61, in update
self._device.update()
File "/srv/homeassistant/lib/python3.5/site-packages/pyfritzhome/fritzhome.py", line 302, in update
node = self._fritz.get_device_element(self.ain)
File "/srv/homeassistant/lib/python3.5/site-packages/pyfritzhome/fritzhome.py", line 117, in get_device_element
elements = self.get_device_elements()
File "/srv/homeassistant/lib/python3.5/site-packages/pyfritzhome/fritzhome.py", line 112, in get_device_elements
plain = self._aha_request('getdevicelistinfos')
File "/srv/homeassistant/lib/python3.5/site-packages/pyfritzhome/fritzhome.py", line 89, in _aha_request
plain = self._request(url, params)
File "/srv/homeassistant/lib/python3.5/site-packages/pyfritzhome/fritzhome.py", line 40, in _request
rsp.raise_for_status()
File "/srv/homeassistant/lib/python3.5/site-packages/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
Hi,
I have a problem with fritz 6490 Cable and OS version 6.51, a newer one is not possbile because of provider. Also I'am not able to use a smarthome user, only admin user works with other HomeAssistant components.
Thanks in advanced.
Error Message in Home Assistant:
2017-11-07 20:59:35 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform fritzhome
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 170, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/dominion/.homeassistant/custom_components/switch/fritzhome.py", line 27, in setup_platform
device_list = fritz.get_devices()
File "/home/dominion/.homeassistant/deps/lib/python3.6/site-packages/pyfritzhome/fritzhome.py", line 133, in get_devices
device = FritzhomeDevice(self, node=element)
File "/home/dominion/.homeassistant/deps/lib/python3.6/site-packages/pyfritzhome/fritzhome.py", line 239, in __init__
self._update_from_node(node)
File "/home/dominion/.homeassistant/deps/lib/python3.6/site-packages/pyfritzhome/fritzhome.py", line 272, in _update_from_node
self.device_lock = bool(get_node_value(n, 'devicelock'))
File "/home/dominion/.homeassistant/deps/lib/python3.6/site-packages/pyfritzhome/fritzhome.py", line 28, in get_node_value
return get_text(node.getElementsByTagName(name)[0].childNodes)
IndexError: list index out of range
greetz,
Dominion
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.