Skip to content

Apply OccupancySensor and OccupiedProperty types to occupancy sensors - closes #351#357

Open
benfrancis wants to merge 1 commit intoWebThingsIO:masterfrom
benfrancis:occupancy-sensor
Open

Apply OccupancySensor and OccupiedProperty types to occupancy sensors - closes #351#357
benfrancis wants to merge 1 commit intoWebThingsIO:masterfrom
benfrancis:occupancy-sensor

Conversation

@benfrancis
Copy link
Member

@benfrancis benfrancis commented Feb 27, 2026

This PR means that Zigbee occupancy sensors will be classified using the new OccupancySensor schema with an OccupiedProperty as opposed to a generic BinarySensor with a BooleanProperty.

It also allows an OccupancyProperty to be added to other device types like a MotionSensor if present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant