Skip to content

[Bug]: set_flow_temperature_optimization does not return data (any more?) #290

@xiic

Description

@xiic

Describe the Bug

When calling set_flow_temperature_optimization (PUT), the API does not return any data. Not sure if that changed or was always the case, but now it seems to behave in this way for my_tado and hops in this way. For hops the interface already expected SuccessResult, so this should be changed for my_tado as well

Example:

PyTado.models.util :: ERROR    :: Model <class 'PyTado.models.pre_line_x.flow_temperature_optimization.FlowTemperatureOptimization'> failed to validate with data {'success': True}

has_multiple_boiler_control_devices
  Field required [type=missing, input_value={'success': True}, input_type=dict]

max_flow_temperature
  Field required [type=missing, input_value={'success': True}, input_type=dict]

max_flow_temperature_constraints
  Field required [type=missing, input_value={'success': True}, input_type=dict]

auto_adaptation
  Field required [type=missing, input_value={'success': True}, input_type=dict]

open_therm_device_serial_number
  Field required [type=missing, input_value={'success': True}, input_type=dict]

Steps to Reproduce

Steps to reproduce the behavior:

  1. call set_flow_temperature_optimization with a my_tado (pre_line_x)

Environment

Provide details about your environment where the bug occurred:

  • PyTado Version: master (8145631)
  • Tado Generation: V3+

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions