kodebach / hacs-idm-heatpump

HACS integration for IDM heat pumps
MIT License
26 stars 2 forks source link

service set_room_mode not working for sensor.####_betriebsart_heizkreis_[abcd] #142

Open Jueff opened 1 month ago

Jueff commented 1 month ago

Version 0.9.0

Bug, missing feature or user error?

When trying to set heating mode for sensors sensor.[.*]_betriebsartheizkreis[abcd] the integration returns _"Entity sensor.warmepumpe_betriebsart_heizkreisb does not support this service."


service: idm_heatpump.set_room_mode
data:
  target: sensor.warmepumpe_betriebsart_heizkreis_b
  value: eco
  acknowledge_risk: true
Jueff commented 1 month ago

just seen the ciructe sensor use "CircuitMode" enum, not "RoomMode". So seems to be a missing feature.

kodebach commented 1 month ago

Yes, the values for these sensors (Modbus registers) are slightly different, so they need different enums. Setting CircuitMode is currently not implemented and haven't found a way to better filter the entities shown by Home Assistant for each service.

For now I added set_circuit_mode to #50, but I'm not sure, when I'll get round to implementing it. I'd gladly accept a PR.