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

Problem call service Climate #979

Open
Black-Dragon34 opened this issue Feb 23, 2024 · 0 comments
Open

Problem call service Climate #979

Black-Dragon34 opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Black-Dragon34
Copy link

The problem

Since the update of the Tuya integration (Tuya-smart-life) in home assistant 2024.2, the call to services on the climate entities does not work normally.

Your Environment

Core
2024.1.6
Interface utilisateur
20240104.0

Include as many relevant details about the environment you experienced the bug in

  • tuya-device-sharing-sdk Version used:
  • Device diagnostic file:

{
"home_assistant": {
"installation_type": "Unsupported Third Party Container",
"version": "2024.1.6",
"dev": false,
"hassio": false,
"virtualenv": true,
"python_version": "3.11.6",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Paris",
"os_name": "Linux",
"os_version": "6.1.74-Unraid",
"run_as_root": false
},
*
*
},
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"codeowners": [
"@tuya",
"@zlinoliver",
"@frenck"
],
{
"documentation": "https://www.home-assistant.io/integrations/tuya",
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": [
"tuya_iot"
],
"requirements": [
"tuya-iot-py-sdk==0.6.6"
],
"is_built_in": true
},
"data": {
"endpoint": "https://openapi.tuyaeu.com",
"auth_type": 0,
"country_code": "33",
"app_type": "smartlife",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "eCosy Salon",
"model": "HZTY001 WiFi + BLE",
"category": "wk",
"product_id": "evyy1wbhi4t7uftn",
"product_name": "eCosy",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2023-12-08T23:22:23+00:00",
"create_time": "2023-12-08T23:22:23+00:00",
"update_time": "2024-02-22T22:38:24+00:00",
"function": {
"switch": {
"type": "Boolean",
"value": {}
},
"mode": {
"type": "Enum",
"value": {
"range": [
"hot",
"eco",
"cold",
"auto"
]
}
},
"temp_set": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 0,
"max": 40,
"scale": 0,
"step": 1
}
}
},
"status_range": {
"switch": {
"type": "Boolean",
"value": {}
},
"mode": {
"type": "Enum",
"value": {
"range": [
"hot",
"eco",
"cold",
"auto"
]
}
},
"temp_set": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 0,
"max": 40,
"scale": 0,
"step": 1
}
}
},
"status": {
"switch": true,
"mode": "cold",
"temp_set": 20
},
"home_assistant": {
"name": "eCosy Salon",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "climate.ecosy_salon",
"state": "cool",
"attributes": {
"hvac_modes": [
"off",
"heat",
"cool",
"heat_cool",
"heat_cool"
],
"min_temp": 0.0,
"max_temp": 40.0,
"target_temp_step": 1.0,
"preset_modes": [
"eco"
],
"current_temperature": null,
"temperature": 20.0,
"preset_mode": null,
"friendly_name": "eCosy Salon",
"supported_features": 17
},
"last_changed": "2024-02-23T16:35:11.171872+00:00",
"last_updated": "2024-02-23T16:35:11.171872+00:00"
}
}
]
}
}
}

Expected Behavior

Calling services on climate entities does not work normally.

Current Behavior

Indeed, for the service call to work, it must be done twice.

Possible Solution

When I downgrade Home-Assistant version 2024.1.6 and the old Tuya integration, no more problems, just one call.

@Black-Dragon34 Black-Dragon34 added the bug Something isn't working label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant