fustom / ariston-remotethermo-home-assistant-v3

Ariston NET remotethermo integration for Home Assistant based on API
MIT License
144 stars 36 forks source link

[BUG] Device/entity does not show up in climate service #329

Closed irsl closed 4 months ago

irsl commented 4 months ago

Describe the bug Thanks for this integration, my Ariston LydosHibrid shows up and works fine over the webui (device profile page), I'm able to set the target temperature and the mode of operation (e.g. BOOST or GREEN). Inspecting the websocket events, I see the following corresponding messages:

{"type":"call_service","domain":"water_heater","service":"set_operation_mode","service_data":{"operation_mode":"BOOST","entity_id":"water_heater.ariston"},"id":49}

{"type":"call_service","domain":"water_heater","service":"set_temperature","service_data":{"entity_id":"water_heater.ariston","temperature":52},"id":51}

However, I'm unable to call the climate services (e.g. set target temperature) in my automations: the equipment is missing both among the entities and the devices.

If I configure the YAML manually, e.g. like this:

service: climate.set_temperature
data:
  entity_id: water_heater.ariston
  temperature: 51

According to the feedback of the webui the call succeeds, but nothing actually happens, and the following message is emitted in the system logs:

2024-04-13 17:48:00.109 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities water_heater.ariston are missing or not currently available

Expected behavior I expect to the climate service to work from automations as well.

Environment (please complete the following information):

irsl commented 4 months ago

User error, sorry :) TIL: there is a water_heater integration in HA and that works just fine:

service: water_heater.set_temperature
data:
  entity_id: water_heater.ariston
  temperature: 51