Skip to content

Commit

Permalink
forgot to change dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
enkama committed Jun 12, 2021
1 parent 92786b4 commit 80f72fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

_LOGGER = logging.getLogger(__name__)

DOMAIN = "variable"
DOMAIN = "variable_history"
ENTITY_ID_FORMAT = DOMAIN + ".{}"

CONF_ATTRIBUTES = "attributes"
Expand Down Expand Up @@ -95,7 +95,8 @@ async def async_setup(hass, config):
force_update = variable_config.get(CONF_FORCE_UPDATE, False)

entities.append(
Variable(variable_id, name, value, attributes, restore, force_update)
Variable(variable_id, name, value,
attributes, restore, force_update)
)

@asyncio.coroutine
Expand Down Expand Up @@ -189,8 +190,6 @@ def force_update(self) -> bool:
"""Force update"""
return self._force_update



@asyncio.coroutine
def async_set_variable(
self,
Expand Down Expand Up @@ -220,4 +219,4 @@ def async_set_variable(
if updated_value is not None:
self._value = updated_value

yield from self.async_update_ha_state()
yield from self.async_update_ha_state()
File renamed without changes.
File renamed without changes.

0 comments on commit 80f72fa

Please sign in to comment.