Migrate Sensor.Community to new entity naming style (#75014)

This commit is contained in:
Franck Nijhof 2022-07-18 15:13:46 +02:00 committed by GitHub
parent bfe34adf6e
commit 9d0c91d648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 18 deletions

View file

@ -97,6 +97,7 @@ class SensorCommunitySensor(CoordinatorEntity, SensorEntity):
"""Implementation of a Sensor.Community sensor."""
_attr_attribution = "Data provided by Sensor.Community"
_attr_has_entity_name = True
_attr_should_poll = False
def __init__(