diff --git a/custom_components/sinapsi_alfa/config_flow.py b/custom_components/sinapsi_alfa/config_flow.py index 23ae319..7ee6a1b 100644 --- a/custom_components/sinapsi_alfa/config_flow.py +++ b/custom_components/sinapsi_alfa/config_flow.py @@ -120,9 +120,9 @@ async def async_step_user(self, user_input=None): title=user_input[CONF_NAME], data=user_input ) else: - errors[ - CONF_HOST - ] = "Connection to device failed (S/N not retreived)" + errors[CONF_HOST] = ( + "Connection to device failed (S/N not retreived)" + ) return self.async_show_form( step_id="user", diff --git a/requirements.txt b/requirements.txt index 5425e75..1c3b908 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ colorlog==6.8.2 homeassistant==2024.1.2 pip>=21.0,<24.1 -ruff==0.2.1 +ruff==0.3.0 pymodbus>=3.5 \ No newline at end of file