Skip to content

Commit

Permalink
Merge pull request #85 from RobertD502/delete_device
Browse files Browse the repository at this point in the history
Add ability to delete device, add flairaio logger to manifest
  • Loading branch information
RobertD502 authored Jul 17, 2024
2 parents 9c8ebc7 + 1f319ad commit 05b8e0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions custom_components/flair/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_CLIENT_ID
from homeassistant.core import HomeAssistant
from homeassistant.helpers import device_registry as dr

from .const import DOMAIN, LOGGER, PLATFORMS
from .coordinator import FlairDataUpdateCoordinator
Expand Down Expand Up @@ -52,3 +53,9 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
)

return True

async def async_remove_config_entry_device(
hass: HomeAssistant, config_entry: ConfigEntry, device_entry: dr.DeviceEntry
) -> bool:
"""Remove a config entry from a device."""
return True
5 changes: 4 additions & 1 deletion custom_components/flair/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
"integration_type": "hub",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/RobertD502/home-assistant-flair/issues",
"loggers": [
"flairaio"
],
"requirements": [
"flairaio==0.2.0"
],
"version": "0.2.1"
"version": "0.2.2"
}

0 comments on commit 05b8e0b

Please sign in to comment.