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

Feature: Chart for Boolean true/false #418

Open
debegr92 opened this issue Aug 7, 2020 · 3 comments
Open

Feature: Chart for Boolean true/false #418

debegr92 opened this issue Aug 7, 2020 · 3 comments

Comments

@debegr92
Copy link

debegr92 commented Aug 7, 2020

Please allow 'true' and 'false' to be plotted in a chart.
True and false should be plotted as 1/0 so that I can see a boolean sensor or button.

@thomasnordquist
Copy link
Owner

That is how it works:

Bildschirmfoto 2020-08-07 um 16 33 24

The chart on the bottom is configured with chart-interpolation "step after"

@thomasnordquist
Copy link
Owner

Oh sry, now I got what you mean.
If the message has no json object but only true / false.

@debegr92
Copy link
Author

debegr92 commented Aug 7, 2020

Exactly, now you understood correct! So, if the payload is a JSON and has a boolean value, it is working, but as plain true/false would be great! This is a valid MQTT payload as well.

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

No branches or pull requests

2 participants