Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.55.0
Python release (python3 --version):
3.5.3
Component/platform:
Owntracks
Description of problem:
I get error messages for an unsupported message type:_lwt and then a traceback NoneType object is not callable
Expected:
If decided to leave _lwt (last will and testament) message by owntracks unsupported, clean up the log so we don't get the traceback. Otherwise, support _lwt messages.
Problem-relevant configuration.yaml entries and steps to reproduce:
Traceback (if applicable):
2017-10-08 07:54:27 WARNING (MainThread) [homeassistant.components.device_tracker.owntracks] Received unsupported message type: lwt.
2017-10-08 07:54:27 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/var/opt/hass/lib/python3.5/site-packages/homeassistant/components/device_tracker/owntracks.py", line 80, in async_handle_mqtt_message
yield from async_handle_message(hass, context, message)
File "/var/opt/hass/lib/python3.5/site-packages/homeassistant/components/device_tracker/owntracks.py", line 413, in async_handle_message
yield from handler(hass, context, message)
TypeError: 'NoneType' object is not callable
Additional info:
Having the same issue, running HA 0.55 and Python 3.6.0:
2017-10-08 10:42:13 WARNING (MainThread) [homeassistant.components.device_tracker.owntracks] Received unsupported message type: lwt.
2017-10-08 10:42:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/owntracks.py", line 80, in async_handle_mqtt_message
yield from async_handle_message(hass, context, message)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/owntracks.py", line 413, in async_handle_message
yield from handler(hass, context, message)
TypeError: 'NoneType' object is not callable
Throwing in my two cents that I'm seeing this issue also. 👍🏻
This should really be fixed in OwnTracks. HTTP is stateless so there should be no will submitted
This is the regular owntracks (mqtt) not the http version.
On Oct 10, 2017 10:33 PM, "Paulus Schoutsen" notifications@github.com
wrote:
This should really be fixed in OwnTracks. HTTP is stateless so there
should be no will submitted—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/9748#issuecomment-335582962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABTZcHg2NPWVAOPLacgMNsam9u9_PjkWks5sq8Z5gaJpZM4PxmH9
.
Opened a PR to silent the warning https://github.com/home-assistant/home-assistant/pull/9831
I just update HA 0.59.2 and still have this error
Is this same error? How to fix?
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/owntracks.py", line 82, in async_handle_mqtt_message
yield from async_handle_message(hass, context, message)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/owntracks.py", line 461, in async_handle_message
yield from handler(hass, context, message)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/owntracks.py", line 270, in async_handle_location_message
dev_id, kwargs = _parse_see_args(message)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/owntracks.py", line 109, in _parse_see_args
user, device = _parse_topic(message['topic'])
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/owntracks.py", line 96, in _parse_topic
_, user, device, *_ = topic.split('/', 3)
ValueError: need more than 2 values to unpack
Most helpful comment
This is the regular owntracks (mqtt) not the http version.
On Oct 10, 2017 10:33 PM, "Paulus Schoutsen" notifications@github.com
wrote: