diff --git a/homeassistant/components/lametric/config_flow.py b/homeassistant/components/lametric/config_flow.py index 7496fc51a4e..4d4ebc15850 100644 --- a/homeassistant/components/lametric/config_flow.py +++ b/homeassistant/components/lametric/config_flow.py @@ -116,7 +116,10 @@ class LaMetricFlowHandler(AbstractOAuth2FlowHandler, domain=DOMAIN): async def async_step_choice_enter_manual_or_fetch_cloud( self, user_input: dict[str, Any] | None = None ) -> FlowResult: - """Handle the user's choice of entering the manual credentials or fetching the cloud credentials.""" + """Handle the user's choice. + + Either enter the manual credentials or fetch the cloud credentials. + """ return self.async_show_menu( step_id="choice_enter_manual_or_fetch_cloud", menu_options=["pick_implementation", "manual_entry"], diff --git a/tests/components/lametric/test_notify.py b/tests/components/lametric/test_notify.py index 3b581c81e75..7d43e7ba9b0 100644 --- a/tests/components/lametric/test_notify.py +++ b/tests/components/lametric/test_notify.py @@ -35,7 +35,9 @@ async def test_notification_defaults( NOTIFY_DOMAIN, NOTIFY_SERVICE, { - ATTR_MESSAGE: "Try not to become a man of success. Rather become a man of value", + ATTR_MESSAGE: ( + "Try not to become a man of success. Rather become a man of value" + ), }, blocking=True, ) @@ -118,7 +120,7 @@ async def test_notification_error( NOTIFY_DOMAIN, NOTIFY_SERVICE, { - ATTR_MESSAGE: "It's failure that gives you the proper perspective on success", + ATTR_MESSAGE: "It's failure that gives you the proper perspective", }, blocking=True, )