Fix non conversion of dict_values to list
###Fix * dict_values for sleep state now correctly converted to list
This commit is contained in:
@@ -170,4 +170,4 @@ class OwletSleepStateSensor(OwletBaseEntity, SensorEntity):
|
||||
|
||||
@property
|
||||
def options(self) -> list[str]:
|
||||
return SLEEP_STATES.values()
|
||||
return list(SLEEP_STATES.values())
|
||||
|
||||
Reference in New Issue
Block a user