diff --git a/neon_phal_plugin_switches/__init__.py b/neon_phal_plugin_switches/__init__.py index 1190f5d..7b1e934 100644 --- a/neon_phal_plugin_switches/__init__.py +++ b/neon_phal_plugin_switches/__init__.py @@ -148,7 +148,8 @@ def setup_gpio(self, pull_up: bool = True): hold_time=0.5).when_activated = self.on_vol_down mute_active = True if bool(self._muted) == pull_up else False - self.mute_switch = Button(self.mute_pin, active_state=mute_active) + self.mute_switch = Button(self.mute_pin, pull_up=None, + active_state=mute_active) self.mute_switch.when_deactivated = self.on_unmute self.mute_switch.when_activated = self.on_mute