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

Service set_miot_property and deerma.humidifier.jsq #1344

Closed
RomchikL opened this issue Oct 8, 2023 · 1 comment
Closed

Service set_miot_property and deerma.humidifier.jsq #1344

RomchikL opened this issue Oct 8, 2023 · 1 comment

Comments

@RomchikL
Copy link

RomchikL commented Oct 8, 2023

Hello!

For my humidifier (deerma.humidifier.jsq) the service "xiaomi_miot.set_miot_property" do not work properly.
E.g. I tryed to use this code to change the target humidity:

service: xiaomi_miot.set_miot_property
data:
  entity_id: humidifier.deerma_jsq_befb_humidifier
  siid: 3
  piid: 1
  value: 50

but I get the error "Invalid JSON in response"

Unable to serialize to JSON. Bad data found at $.result.response.result={'did': 'prop.3.1', 'siid': 3, 'piid': 1, 'code': -4004}(<class 'custom_components.xiaomi_miot.core.miot_spec.MiotResult'>

At the same time the service "xiaomi_miot.set_property" works with the filed "humidifier.target_humidity"

@al-one
Copy link
Owner

al-one commented Oct 28, 2024

@al-one al-one closed this as completed Oct 28, 2024
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