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

additonal option for rendering Booleans on Dashboard #456

Closed
proddy opened this issue Apr 8, 2022 · 1 comment
Closed

additonal option for rendering Booleans on Dashboard #456

proddy opened this issue Apr 8, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@proddy
Copy link
Contributor

proddy commented Apr 8, 2022

Hi @ Proddy,
thank you.
iobroker/ems-esp plugin uses a lot of stuff like true|false, 0|1 "true"|"false". It also knows about booleans and enumerations.
But on top I also have some homewritten scripts (curl to api) in simple tcl or shell, where I use regex to fetch the "true" state.

It was a little bit confusing for me, that the "format" option for booleans are for both dashboard AND api, but the format for enumerations is ONLY for api. I see this as changing the format of both does only alter representation of boolenas in the dashboard AND api, but enumerations are allways shown as values in dashboard (whatever format enum option), but the api representation is changed accordingly.

So I think, there should be an explanation that the boolean option is for both, enum option only for api.

OR EVEN BETTER:
format option(s) for dashboard (maybe we never need dashboard ENUM format option), so only dashboard BOOLEAN format option,
AND both format options separately for api, BOOLEANs to satisfy domotiz with "1|0" and possible others with different format, and the ENUMS as "index" (for systems handling index of enums and values of enums) or "value" (mostly for dump display systems.

just my idea .....

and please fix this simple "wwstarts2" -> "dhw controls starts2" long name (as Michael has done it)

Thank you and
cu
Harvey

Originally posted by @harvey637 in #450 (comment)

@proddy proddy added this to the v3.4.1 milestone Apr 8, 2022
MichaelDvP added a commit to MichaelDvP/EMS-ESP32 that referenced this issue May 4, 2022
MichaelDvP added a commit to MichaelDvP/EMS-ESP32 that referenced this issue May 4, 2022
@proddy proddy modified the milestones: v3.4.1, v3.4 May 5, 2022
@proddy proddy added the enhancement New feature or request label May 5, 2022
@proddy
Copy link
Contributor Author

proddy commented May 5, 2022

@harvey637 do you want to quickly verify this before closing it?

@proddy proddy closed this as completed May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant