Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GazBoiler has no setDomesticHotWaterSchedule() #253

Open
bong0 opened this issue Apr 19, 2022 · 2 comments
Open

GazBoiler has no setDomesticHotWaterSchedule() #253

bong0 opened this issue Apr 19, 2022 · 2 comments

Comments

@bong0
Copy link

bong0 commented Apr 19, 2022

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

@woehrl01
Copy link
Collaborator

Thanks @bong0.

I think we simply haven't implemented that method yet. Feel free to send a PR.

@jeremias-jordan
Copy link

I've added the feature with PR #368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants