mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Use _attr_attribution in synology_dsm (#62382)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
d147038cc5
commit
43099f6eb0
@ -29,7 +29,6 @@ from synology_dsm.exceptions import (
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import (
|
||||
ATTR_ATTRIBUTION,
|
||||
CONF_HOST,
|
||||
CONF_MAC,
|
||||
CONF_PASSWORD,
|
||||
@ -528,7 +527,7 @@ class SynologyDSMBaseEntity(CoordinatorEntity):
|
||||
|
||||
entity_description: SynologyDSMEntityDescription
|
||||
unique_id: str
|
||||
_attr_extra_state_attributes = {ATTR_ATTRIBUTION: ATTRIBUTION}
|
||||
_attr_attribution = ATTRIBUTION
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user