Skip to content

Commit

Permalink
Merge pull request #163 from firstof9/patch-1
Browse files Browse the repository at this point in the history
Correct warning thrown from Home Assistant 2021.12.0b0
  • Loading branch information
isabellaalstrom authored Dec 9, 2021
2 parents 914ee7b + 1cdf579 commit 554b295
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/grocy/entity.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""GrocyEntity class"""
import json
from homeassistant.helpers import entity
from homeassistant.helpers.device_registry import DeviceEntryType
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator

# pylint: disable=relative-beyond-top-level
Expand Down Expand Up @@ -105,7 +106,7 @@ def device_info(self):
"name": NAME,
"model": VERSION,
"manufacturer": NAME,
"entry_type": "service",
"entry_type": DeviceEntryType.SERVICE,
}

@property
Expand Down

0 comments on commit 554b295

Please sign in to comment.