Skip to content

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

Merged
benfrancis merged 1 commit intoWebThingsIO:masterfrom
benfrancis:occupancy-sensor
Mar 9, 2026
Merged

Apply OccupancySensor and OccupiedProperty types to occupancy sensors - closes #351#357
benfrancis merged 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.

@benfrancis
Copy link
Member Author

r=me

@benfrancis benfrancis merged commit 1860644 into WebThingsIO:master Mar 9, 2026
1 check passed
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