diff --git a/custom_components/garbage_collection/config_flow.py b/custom_components/garbage_collection/config_flow.py index 56c925a..82a0c11 100644 --- a/custom_components/garbage_collection/config_flow.py +++ b/custom_components/garbage_collection/config_flow.py @@ -118,9 +118,10 @@ def step2_detail(self, user_input: Dict) -> bool: """Step 2 - enter detail that depend on frequency.""" self.errors.clear() # Skip second step on blank frequency - if ( - self._data[const.CONF_FREQUENCY] in const.BLANK_FREQUENCY - and not self._data[const.CONF_VERBOSE_FORMAT] + if self._data[ + const.CONF_FREQUENCY + ] in const.BLANK_FREQUENCY and not self._data.get( + const.CONF_VERBOSE_STATE, False ): return True if user_input is not None and user_input: