diff --git a/homeassistant/components/mqtt/client.py b/homeassistant/components/mqtt/client.py index e6e4bb52049..0261512fe99 100644 --- a/homeassistant/components/mqtt/client.py +++ b/homeassistant/components/mqtt/client.py @@ -548,7 +548,7 @@ class MQTT: # Remove this once # https://github.com/eclipse/paho.mqtt.python/pull/843 # is available. - sock = sock._socket # noqa: SLF001 + sock = sock._socket # pylint: disable=protected-access new_buffer_size = PREFERRED_BUFFER_SIZE while True: