Skip to content

GazBoiler has no setDomesticHotWaterSchedule() #253

@bong0

Description

@bong0

Hey everyone,

I'm running Python 3.9 and PyViCare-2.16.1

From the capabilities dump attached, there should be the possibility to set the schedule for DHW, right? (not the circulation)
Any Idea why there is only a getter for that, but not a setter appearing?

        {
            "apiVersion": 1,
            "commands": {
                "setSchedule": {
                    "isExecutable": true,
                    "name": "setSchedule",
                    "params": {
                        "newSchedule": {
                            "constraints": {
                                "defaultMode": "off",
                                "maxEntries": 4,
                                "modes": [
                                    "on"
                                ],
                                "overlapAllowed": true,
                                "resolution": 10
                            },
                            "required": true,
                            "type": "Schedule"
                        }
                    },
                    "uri": "https://api.viessmann.com/iot/v1/equipment/installations/#######/gateways/################/devices/0/features/heating.dhw.schedule/commands/setSchedule"
                }
            },
AttributeError                            Traceback (most recent call last)
<ipython-input-121-a918077c29b1> in <module>
     21 print(dir(vicare))
     22 #print(vicare.devices[0].dump_secure())
---> 23 print(getattr(t,'setDomesticHotWaterSchedule'))
     24 
     25 

AttributeError: 'GazBoiler' object has no attribute 'setDomesticHotWaterSchedule'

dump.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions