mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Mark current position sensor for Matter switch as default disabled (#126254)
This commit is contained in:
parent
8b44c16b57
commit
90f691fa2c
@ -480,6 +480,7 @@ DISCOVERY_SCHEMAS = [
|
|||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
translation_key="switch_current_position",
|
translation_key="switch_current_position",
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
entity_registry_enabled_default=False,
|
||||||
),
|
),
|
||||||
entity_class=MatterSensor,
|
entity_class=MatterSensor,
|
||||||
required_attributes=(clusters.Switch.Attributes.CurrentPosition,),
|
required_attributes=(clusters.Switch.Attributes.CurrentPosition,),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user