Only postfix image name for container (#55248)
This commit is contained in:
parent
56246056ce
commit
03d3bbfba1
2 changed files with 31 additions and 1 deletions
|
@ -87,7 +87,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||
source = HaVersionSource.CONTAINER
|
||||
|
||||
if (
|
||||
source in (HaVersionSource.SUPERVISOR, HaVersionSource.CONTAINER)
|
||||
source == HaVersionSource.CONTAINER
|
||||
and image is not None
|
||||
and image != DEFAULT_IMAGE
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue