zxdavb / ramses_cc

HA integration for CH/DHW and HVAC systems that use the RAMSES II RF protocol
GNU General Public License v3.0
78 stars 17 forks source link

Cannot set system mode with period or duration #70

Closed raldred closed 9 months ago

raldred commented 1 year ago

I am unable to use the set_system_mode service with any of the addition options the service defines with my evohome system. If I provide duration or period, I receive an error and the service call fails. Additionally I can only get it working for eco_boost, all the other modes do nothing.

HA version: 2023.10.3 Ramses_cc version: 0.21.40

I can use the standard climate.set_preset_mode service but this does not allow you to set non default periods/durations.

Using the native set_system_mode like so... eg,

tap_action:
  action: call-service
  service: ramses_cc.set_system_mode
  data:
    mode: eco_boost
    duration: 120
    entity_id: climate.controller

This returns an error

Screenshot 2023-11-05 at 15 05 57

If omit duration, it will set the system mode to eco for the rest of the day.
But other modes don't seems to be settable, for example:

action: call-service
  service: ramses_cc.set_system_mode
  data:
    mode: away
    period: 2
    entity_id: climate.controller

This does nothing, no error, system mode remains in current mode

raldred commented 9 months ago

Fixed in #110