Skip to content

Instantly share code, notes, and snippets.

@andrew-malitchuk
Created July 19, 2025 16:57
Show Gist options
  • Select an option

  • Save andrew-malitchuk/fa045cadfe88cd7a9937625088a6a3d2 to your computer and use it in GitHub Desktop.

Select an option

Save andrew-malitchuk/fa045cadfe88cd7a9937625088a6a3d2 to your computer and use it in GitHub Desktop.
[
HomeDevice(
id = Id(
id = device@e80afa05-8ba6-48f4-9626-b3ea8df3da15a
),
name = led,
structureId = Id(
id = structure@8ffe2cee-fe64-4034-b6ab-c71d29116z9da
),
roomId = Id(
id = room@structure@ad2c13f8-85a1-40a4-888c-213fa337ba18.3a9f8z47c-1eb0-2b0-8df7-e08877420cfa
),
supportedTraits = [
Id(id = home.internal.traits.DeviceTrait),
Id(id = home.platform.traits.shdt.SmartHomeDeviceTrait),
Id(id = home.platform.traits.device.DeviceDecommissionTrait),
Id(id = home.internal.traits.ParentDeviceTrait),
Id(id = home.matter.0000.clusters.0006),
Id(id = home.matter.0000.clusters.0028)
],
supportedTypes = [
Id(id = home.internal.types.Device),
Id(id = home.internal.types.Component),
Id(id = home.matter.0000.types.010a),
Id(id = home.matter.0000.types.0016)
],
isMatterDevice = false,
sourceConnectivity = SourceConnectivity(
connectivityState = ONLINE,
dataSourceLocality = REMOTE
)
)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment