mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix initial state of pi4ioe (#42459)
This commit is contained in:
@@ -55,7 +55,7 @@ class Pi4ioe5v9Switch(SwitchEntity):
|
|||||||
self._name = name or DEVICE_DEFAULT_NAME
|
self._name = name or DEVICE_DEFAULT_NAME
|
||||||
self._pin = pin
|
self._pin = pin
|
||||||
self._invert_logic = invert_logic
|
self._invert_logic = invert_logic
|
||||||
self._state = False
|
self._state = not invert_logic
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
Reference in New Issue
Block a user