Traceback (most recent call last):


 "<input>", line 1, in <module>
TypeError: unhashable type: 'slice'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/config_entries.py", line 219, in async_setup

result = await component.async_setup_entry(
# type: ignore


 "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 523, in async_setup_entry

hass.data[DATA_MQTT] = MQTT(hass, entry, conf,)


 "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 626, in __init__

self.init_client()


 "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 716, in init_client

self._mqttc.will_set(
# pylint: disable=no-value-for-parameter
TypeError: will_set() takes from 2 to 5 positional arguments but 6 were given
