Skip to content

Commit

Permalink
Update fan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldt80 authored Apr 14, 2021
1 parent f0e2bd6 commit cf5791a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/philips_airpurifier_http/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from homeassistant.const import (
CONF_HOST,
CONF_NAME,
CONF_UNIQUE_ID,
)

from .const import *
Expand Down Expand Up @@ -124,8 +123,6 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
wifi = await hass.async_add_executor_job(client.get_wifi)
if PHILIPS_MAC_ADDRESS in wifi:
unique_id = wifi[PHILIPS_MAC_ADDRESS]
else:
unique_id = config[CONF_UNIQUE_ID]

device = PhilipsAirPurifierFan(hass, client, name, unique_id)

Expand Down

0 comments on commit cf5791a

Please sign in to comment.