mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Remove unnecessary assertion for the Yellow firmware type (#124747)
This commit is contained in:
parent
1b304e60d9
commit
3533ac163c
@ -96,8 +96,6 @@ class HomeAssistantYellowConfigFlow(BaseFirmwareConfigFlow, domain=DOMAIN):
|
|||||||
|
|
||||||
def _async_flow_finished(self) -> ConfigFlowResult:
|
def _async_flow_finished(self) -> ConfigFlowResult:
|
||||||
"""Create the config entry."""
|
"""Create the config entry."""
|
||||||
assert self._probed_firmware_type is not None
|
|
||||||
|
|
||||||
return self.async_create_entry(
|
return self.async_create_entry(
|
||||||
title=BOARD_NAME,
|
title=BOARD_NAME,
|
||||||
data={
|
data={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user