mirror of
https://github.com/home-assistant/core.git
synced 2026-12-06 13:45:55 -04:00
Use local latitude and longitude constants in husqvarna_automower (#191222)
This commit is contained in:
@@ -11,7 +11,6 @@ from homeassistant.components.event import (
|
||||
EventEntity,
|
||||
EventEntityDescription,
|
||||
)
|
||||
from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers import entity_registry as er
|
||||
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
|
||||
@@ -23,6 +22,8 @@ from .entity import AutomowerBaseEntity
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
ATTR_LATITUDE = "latitude"
|
||||
ATTR_LONGITUDE = "longitude"
|
||||
ATTR_SEVERITY = "severity"
|
||||
ATTR_DATE_TIME = "date_time"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user