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

Add Climate- & HumiditySensor, Change TemperatureSensor #432

Merged
merged 3 commits into from Jan 16, 2023

Conversation

michikrug
Copy link
Collaborator

@michikrug michikrug commented Jan 3, 2023

While working on #426, we noticed that using TemperatureControl does not show any UI for the sensor in the Google Home app.
Apparently, using the TemperatureSetting trait does the trick.
Therefore, I adjusted the TemperatureSensor to use the other trait.
In addition to that, I added a HumiditySensor (only for humidity) and a ClimateSensor (for both humidity and temperature).

This supersedes #428 as working with ranges did not fix the issue.

Screenshot_20230103-212322
Screenshot_20230103-212333
Screenshot_20230103-212339


Resolves #426
Resolves #427


ToDo

  • Prepare PR for openhab-webui to add the new annotations

@robnielsen
Copy link

@michikrug, do you have a Nest Hub? I noticed that the current version displays both the setpoint and current temperature for TemperatureSensor. Hopefully, it will still work with your changes.

@robnielsen
Copy link

PXL_20230105_183126758 - Copy

@michikrug
Copy link
Collaborator Author

@michikrug, do you have a Nest Hub? I noticed that the current version displays both the setpoint and current temperature for TemperatureSensor. Hopefully, it will still work with your changes.

No. I don't.

Well, I have removed the setpoint one as I thought this makes no sense. At least in Google Home the single one is displayed.

Signed-off-by: Michael Krug <michi.krug@gmail.com>
Signed-off-by: Michael Krug <michi.krug@gmail.com>
Signed-off-by: Michael Krug <michi.krug@gmail.com>
@michikrug
Copy link
Collaborator Author

openHAB Web UI was updated here: openhab/openhab-webui#1648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants