Skip to content

Commit

Permalink
revert map key
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Oct 8, 2024
1 parent 07737c3 commit 834d75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/econet300/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _sync_state(self, value):
"""Sync state."""
_LOGGER.debug("EconetNumber _sync_state: %s", value)
self._attr_native_value = value
map_key = NUMBER_MAP.get(self.e= ENTITY_MAX_VALUE.get(map_key)
map_key = NUMBER_MAP.get(self.entity_description.key)
self.async_write_ha_state()
self.hass.async_create_task(self.async_set_limits_values())
ntity_description.key)
Expand Down

0 comments on commit 834d75a

Please sign in to comment.