Closed vanstinator closed 4 years ago
So I was debugging tonight and starting to test the various attribute setters and they just weren't working. Turns out you need to hit /home
twice if you're not already on the selected controller/faucet combo. It ignores the rest of the form fields otherwise š¤¦āā
Getting closer. All the functionality I've currently tested works. I also swapped out the BeautifulSoup html parser for html5lib
. It makes parsing the broken (š) html so much better. Resulted in less kludgy code in the refactored helpers. I'll do another pass after this lands to clean up anything else that will benefit.
I have now been using home assistant with my controller and one valve for awhile without issue and just got an additional valve which broke everything in home assistant. Happy to test this when ready.
@vanstinator, bit of radio silence for a couple of months on this PR.
Anywhere closer to success? It looks like you said you were close, but this hasn't been merged yet?
Hey @vanstinator, I don't mean to bug you, but are you still working on this PR? Is it ready to merge and we're just waiting for @tchellomello?
@vanstinator Is there any way we can implement your awaiting changes, in hassio without having to wait for the PR to be merged?
Heeeeeyyyy @vanstinator ... I know it's the off-season here in Europe, and I'm sorry for being that guy, but any progress on merging this PR?
@vanstinator Is there any way we can implement your awaiting changes, in hassio without having to wait for the PR to be merged?
@jangobritt Did you ever figure this out? Now that the weather is getting nicer in Chicago Iām hoping I CNA get both valves working in hassio.
Hi all. I hope you're all doing well.
No, I didn't get round to figuring this out. I hoped by the time we needed sprinklers around here, there's be more progress.
If anyone's bored on lockdown, this'd be a great PR to pass the time on? ;-)
Stay Safe!
There are known issues. But it's ready enough to start putting together the home assistant bits. Merging.
WIP PR for #22 so I can self-review and run CI as I go.
EDIT: Fixes #41 and closes #22
Currently implemented the bare-minimum handling needed to iterate through any number of valves and controllers. The following demonstration code should work for all users on this current iteration of the PR: