mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Make mikrotik method setting optional as intended (#18454)
Pull request #17852 accidently made the `method` setting required.
This commit is contained in:
parent
c7ac216602
commit
80e616cacf
@ -46,7 +46,7 @@ class MikrotikScanner(DeviceScanner):
|
||||
self.port = config[CONF_PORT]
|
||||
self.username = config[CONF_USERNAME]
|
||||
self.password = config[CONF_PASSWORD]
|
||||
self.method = config[CONF_METHOD]
|
||||
self.method = config.get(CONF_METHOD)
|
||||
|
||||
self.connected = False
|
||||
self.success_init = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user