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

[chatgpt] Strings added with ChatGPT binding causes issues in MIIO binding #15575

Closed
Masssssy opened this issue Sep 10, 2023 · 2 comments · Fixed by #15578
Closed

[chatgpt] Strings added with ChatGPT binding causes issues in MIIO binding #15575

Masssssy opened this issue Sep 10, 2023 · 2 comments · Fixed by #15578
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@Masssssy
Copy link

Masssssy commented Sep 10, 2023

After I installed the ChatGPT binding a textfield (“Devide Model String”) in Xiaomi MIIO binding was populated with a dropdown of strings that originate from the ChatGPT binding. This caused all my devices on that binding (except my vacuum) to fail.

Expected Behavior

ChatGPT binding should not mess up the Xiaomi MIIO binding (or any other binding).

Current Behavior

E.g under "Device Model String" there was a dropdown with ChatGPT options but it should actually have been a textfield with yeelink.light.ceiling10.

Possible Solution

No idea. I didn't have time to look into the details.

Steps to Reproduce (for Bugs)

  1. Install MIIO binding
  2. Add a Xiaomi Generic or Xiaomi Basic device
  3. Check "show advanced" and go to "Device Model String"
  4. "Device Model String" shall be a normal textfield, with a value of eg. "yeelink.light.ceiling10" or empty if no real device is added
  5. Install ChatGPT binding
  6. (possible other steps here...)
  7. Again check the "Device Model String" field. It has now become a dropdown with options from the ChatGPT binding and there will be errors saying that "yeelink.light.ceiling10" is not a valid choice in the dropdown (as there's only ChatGPT binding options in the list)

Removing the ChatGPT binding and then going to each light thing and manually pressing save would get them back to life again.

Context

None of my Yeelights would work after playing around with the ChatGPT binding.

Your Environment

  • Version used: (e.g., openHAB and add-on versions)
    OpenHAB 4.0.2
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, ...):
    OpenHAB runs on Ubuntu Server
@Masssssy Masssssy added the bug An unexpected problem or unintended behavior of an add-on label Sep 10, 2023
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/chatgpt-and-openhab-incl-possibly-alexa-integration/144060/28

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/failed-to-normalize-configuration-uninitialized-handler-configuration-pending/148943/8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
2 participants