Skip to content

Commit

Permalink
Set UpdateEntity supported features properly
Browse files Browse the repository at this point in the history
  • Loading branch information
PimDoos committed Feb 2, 2024
1 parent d89d1d1 commit 8a99b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sessy/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, name: str,

self._attr_entity_registry_enabled_default = enabled_default
self._attr_device_class = UpdateDeviceClass.FIRMWARE
self._attr_supported_features = UpdateEntityFeature.INSTALL + UpdateEntityFeature.PROGRESS
self._attr_supported_features = UpdateEntityFeature.INSTALL | UpdateEntityFeature.PROGRESS

self.cache_target = cache_target
if action_target:
Expand Down

0 comments on commit 8a99b0f

Please sign in to comment.