diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index e65fda52e44..731ee919c98 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -361,6 +361,8 @@ class TPLinkLightEntity(CoordinatedTPLinkEntity, LightEntity): class TPLinkLightEffectEntity(TPLinkLightEntity): """Representation of a TPLink Smart Light Strip.""" + _attr_supported_features = LightEntityFeature.TRANSITION | LightEntityFeature.EFFECT + def __init__( self, device: Device, @@ -373,8 +375,6 @@ class TPLinkLightEffectEntity(TPLinkLightEntity): self._effect_module = effect_module super().__init__(device, coordinator, light_module=light_module) - _attr_supported_features = LightEntityFeature.TRANSITION | LightEntityFeature.EFFECT - @callback def _async_update_attrs(self) -> bool: """Update the entity's attributes.""" diff --git a/homeassistant/components/tplink/quality_scale.yaml b/homeassistant/components/tplink/quality_scale.yaml index 3a2e10bc426..c170cf8c169 100644 --- a/homeassistant/components/tplink/quality_scale.yaml +++ b/homeassistant/components/tplink/quality_scale.yaml @@ -3,12 +3,8 @@ rules: config-flow: done test-before-configure: done unique-config-entry: done - config-flow-test-coverage: - status: todo - comment: Clean up stale docstrings - runtime-data: - status: todo - comment: Use typed config entry in coordinator + config-flow-test-coverage: done + runtime-data: done test-before-setup: done appropriate-polling: done entity-unique-id: done @@ -16,7 +12,7 @@ rules: entity-event-setup: status: exempt comment: The integration does not use events. - dependency-transparency: todo + dependency-transparency: done action-setup: status: exempt comment: The integration only uses platform services. @@ -34,12 +30,7 @@ rules: action-exceptions: done reauthentication-flow: done parallel-updates: done - test-coverage: - status: todo - comment: Move test constants to const.py, mock_init \ - docstrings, entity_registry fixture, unused freezers \ - match exceptions, use freezer in test_fan, use async_setup \ - remove if statements from light tests, use constants in service calls + test-coverage: done integration-owner: done docs-installation-parameters: todo docs-configuration-parameters: @@ -47,10 +38,7 @@ rules: comment: The integration does not have any options configuration parameters. # Gold - entity-translations: - status: todo - comment: Use device class translations, remove unused translations \ - translate Unnamed, setup exceptions, mac mismatch, async_set_hvac_mode + entity-translations: done entity-device-class: done devices: done entity-category: done