Skip to content

Commit

Permalink
Do not use default values, let it fallback to None
Browse files Browse the repository at this point in the history
  • Loading branch information
MvdDonk committed Dec 30, 2024
1 parent bef6da8 commit 1fc9dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/brewfather/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def __init__(self, hass: HomeAssistant, entry, update_interval: timedelta):
self.all_batch_info_sensor = entry.data.get(CONF_ALL_BATCH_INFO_SENSOR, False)
self.temperature_correction_enabled = entry.data.get(CONF_RAMP_TEMP_CORRECTION, False)
self.connection = Connection(
entry.data.get(CONF_USERNAME, 'no-username-found-in-config'),
entry.data.get(CONF_PASSWORD, 'no-password-found-in-config')
entry.data.get(CONF_USERNAME),
entry.data.get(CONF_PASSWORD)
)

super().__init__(hass, _LOGGER, name=DOMAIN, update_interval=update_interval)
Expand Down

0 comments on commit 1fc9dc9

Please sign in to comment.