Move EntityCategory to homeassistant.const (#87792)

* Move EntityCategory to homeassistant.const

* Fix more imports
This commit is contained in:
Erik Montnemery 2023-02-09 20:15:37 +01:00 committed by GitHub
parent abf0c87e40
commit cc564026fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
456 changed files with 644 additions and 632 deletions

View file

@ -4,10 +4,9 @@ from unittest.mock import MagicMock
from freezegun import freeze_time
from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN, SERVICE_PRESS
from homeassistant.const import ATTR_ENTITY_ID, ATTR_ICON, STATE_UNKNOWN
from homeassistant.const import ATTR_ENTITY_ID, ATTR_ICON, STATE_UNKNOWN, EntityCategory
from homeassistant.core import HomeAssistant
from homeassistant.helpers import entity_registry as er
from homeassistant.helpers.entity import EntityCategory
from .conftest import setup_integration