Skip to content

Commit

Permalink
Remove setup platform functions from UniFi since they are no longer n…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kane610 authored Oct 16, 2020
1 parent 2f69b53 commit 9abe18b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/unifi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
UPTIME_SENSOR = "uptime"


async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Sensor platform doesn't support configuration through configuration.yaml."""


async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up sensors for UniFi integration."""
controller = hass.data[UNIFI_DOMAIN][config_entry.entry_id]
Expand Down
4 changes: 0 additions & 4 deletions homeassistant/components/unifi/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
CLIENT_UNBLOCKED = (WIRED_CLIENT_UNBLOCKED, WIRELESS_CLIENT_UNBLOCKED)


async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Component doesn't support configuration through configuration.yaml."""


async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up switches for UniFi component.
Expand Down

0 comments on commit 9abe18b

Please sign in to comment.