Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sopelj committed Jan 15, 2022
1 parent 4525bd6 commit b8fca9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ember_mug/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, hass: HomeAssistant, config: ConfigEntry) -> None:
hass, _LOGGER, name=f"ember-mug-{config.entry_id}", update_interval=None
)
self.mac_address = config.data[CONF_MAC]
self.name = config.data.get.get(CONF_NAME, f"Ember Mug {self.mac_address}")
self.name = config.data.get(CONF_NAME, f"Ember Mug {self.mac_address}")
self.unit_of_measurement = config.data.get(CONF_TEMPERATURE_UNIT, TEMP_CELSIUS)

self.mug = EmberMug(
Expand Down

0 comments on commit b8fca9f

Please sign in to comment.