Skip to content

Commit

Permalink
Boolean and numeric exposes. Koenkk/zigbee2mqtt#4466
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Oct 7, 2020
1 parent 0fb0f51 commit 2994c3d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/information/mqtt_topics_and_message_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,16 @@ Indicates a device exposes a switch.

Example: `{"type":"switch"}`

#### Numeric
Indicates a device exposes a numeric value. Always contains `property`, optionally includes a `unit`.

Example: `{"type":"numeric","property":"temperature","unit":"°C"}`

#### Boolean
Indicates a device exposes a boolean value. Always contains `property`.

Example: `{"type":"boolean","property":"occupancy"}`

## zigbee2mqtt/bridge/groups
Contains the groups.
Whenever a group is added/removed or when devices are added/removed from a group this is republished.
Expand Down

0 comments on commit 2994c3d

Please sign in to comment.