You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of problem:
MikroTik device tracker does not load: 'MikrotikScanner' object has no attribute 'encoding'. It should not be needed because of the default value. Related to #22715.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Error setting up platform mikrotik
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/device_tracker/__init__.py", line 170, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/mikrotik/device_tracker.py", line 35, in get_scanner
scanner = MikrotikScanner(config[DOMAIN])
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/mikrotik/device_tracker.py", line 63, in __init__
self.success_init = self.connect_to_device()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/mikrotik/device_tracker.py", line 78, in connect_to_device
'encoding': self.encoding
AttributeError: 'MikrotikScanner' object has no attribute 'encoding'
Additional information:
I tried to add encoding: utf-8 to my config as well.
The new option for mikrotik is missing from the docs anyway.
The text was updated successfully, but these errors were encountered:
Home Assistant release with the issue:
0.92.0b1
Last working Home Assistant release (if known):
0.91.4
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io on generic Linux
Component/platform:
https://rc.home-assistant.io/components/mikrotik/
Description of problem:
MikroTik device tracker does not load:
'MikrotikScanner' object has no attribute 'encoding'
. It should not be needed because of the default value. Related to #22715.Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
I tried to add
encoding: utf-8
to my config as well.The new option for mikrotik is missing from the docs anyway.
The text was updated successfully, but these errors were encountered: