Skip to content

Commit

Permalink
fix(nest): fixed local push not enabled
Browse files Browse the repository at this point in the history
fixed a bug introduced by new DeviceInfo usage
  • Loading branch information
luuuis committed Dec 22, 2023
1 parent d377090 commit 2ba89c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/wibeee/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ async def fetching_data(now=None):
return async_track_time_interval(hass, fetching_data, scan_interval)


async def async_setup_local_push(hass: HomeAssistant, entry: ConfigEntry, device, sensors: list['WibeeeSensor']):
mac_address = device['macAddr']
async def async_setup_local_push(hass: HomeAssistant, entry: ConfigEntry, device: DeviceInfo, sensors: list['WibeeeSensor']):
mac_address = device.macAddr
nest_proxy = await get_nest_proxy(hass)

def nest_push_param(s: WibeeeSensor) -> str:
Expand Down

0 comments on commit 2ba89c8

Please sign in to comment.