Skip to content

Commit

Permalink
official
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveicedgreentea committed Jul 5, 2024
1 parent 1e890bb commit e9aa37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/madvr/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
super().__init__(hass, _LOGGER, name=DOMAIN)
self.entry_id = self.config_entry.entry_id
# get the mac address from the config entry
self.mac = self.config_entry.data[CONF_MAC]
self.mac = self.config_entry.data.get(CONF_MAC)
self.client = client
self.client.set_update_callback(self.handle_push_data)
_LOGGER.debug("MadVRCoordinator initialized with mac: %s", self.mac)
Expand Down

0 comments on commit e9aa37f

Please sign in to comment.