Clean up after global variable deletion (#33743)
* Clean up after global variable deletion * Remove self from method calls
This commit is contained in:
parent
f3b6575272
commit
0d2de919a6
6 changed files with 3 additions and 17 deletions
|
@ -26,7 +26,6 @@ def setup(hass, config):
|
|||
|
||||
port = config[DOMAIN][CONF_PORT]
|
||||
|
||||
board = None
|
||||
try:
|
||||
board = ArduinoBoard(port)
|
||||
except (serial.serialutil.SerialException, FileNotFoundError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue