Return empty available programs list if an appliance is off during initial configuration (#90905)
This commit is contained in:
parent
96c5e845e5
commit
e8cbf439e5
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class DeviceWithPrograms(HomeConnectDevice):
|
|||
programs_available = self.appliance.get_programs_available()
|
||||
except (HomeConnectError, ValueError):
|
||||
_LOGGER.debug("Unable to fetch available programs. Probably offline")
|
||||
programs_available = None
|
||||
programs_available = []
|
||||
return programs_available
|
||||
|
||||
def get_program_switches(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue