diff --git a/homeassistant/components/pi4ioe5v9xxxx/switch.py b/homeassistant/components/pi4ioe5v9xxxx/switch.py index 6bac673459f..81de76c086c 100644 --- a/homeassistant/components/pi4ioe5v9xxxx/switch.py +++ b/homeassistant/components/pi4ioe5v9xxxx/switch.py @@ -55,7 +55,7 @@ class Pi4ioe5v9Switch(SwitchEntity): self._name = name or DEVICE_DEFAULT_NAME self._pin = pin self._invert_logic = invert_logic - self._state = False + self._state = not invert_logic @property def name(self):