Update tplink quality_scale.yaml (#135209)

This commit is contained in:
Steven B. 2025-01-14 11:41:48 +00:00 committed by GitHub
parent c66176cfa5
commit d970b728ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 19 deletions

View File

@ -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."""

View File

@ -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