mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Add unrecorded attributes in dnsip (#119726)
* Add unrecorded attributes in dnsip * Fix names
This commit is contained in:
parent
a52a2383c5
commit
1c1d5a8d9b
@ -71,6 +71,7 @@ class WanIpSensor(SensorEntity):
|
|||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_translation_key = "dnsip"
|
_attr_translation_key = "dnsip"
|
||||||
|
_unrecorded_attributes = frozenset({"resolver", "querytype", "ip_addresses"})
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user