Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stateroles.md - clarify buttons #464

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/en/dev/stateroles.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ in the [Type-detector repository](https://github.com/ioBroker/ioBroker.type-dete
* `date` `common.type = number` - `epoch seconds * 1000`

## Sensor (booleans, read-only)
Buttons do not have a value and are only used to send an event (TRUE) when pressed, therefore the attribute read must be FALSE
Button events triggering onChange on an adapter should be confirmed with ACK = TRUE to show the event has been recognized and processed.

`common.type=boolean, common.write=false`

* `sensor.window` - window opened-`true` or closed-`false`
Expand Down