Mark current position sensor for Matter switch as default disabled (#126254)

This commit is contained in:
Marcel van der Veldt
2024-09-20 12:07:38 +02:00
committed by GitHub
parent 8b44c16b57
commit 90f691fa2c

View File

@@ -480,6 +480,7 @@ DISCOVERY_SCHEMAS = [
state_class=SensorStateClass.MEASUREMENT,
translation_key="switch_current_position",
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
),
entity_class=MatterSensor,
required_attributes=(clusters.Switch.Attributes.CurrentPosition,),