Remove unnecessary assertion for the Yellow firmware type (#124747)

This commit is contained in:
puddly
2024-08-27 19:57:08 -04:00
committed by GitHub
parent 1b304e60d9
commit 3533ac163c

View File

@@ -96,8 +96,6 @@ class HomeAssistantYellowConfigFlow(BaseFirmwareConfigFlow, domain=DOMAIN):
def _async_flow_finished(self) -> ConfigFlowResult:
"""Create the config entry."""
assert self._probed_firmware_type is not None
return self.async_create_entry(
title=BOARD_NAME,
data={