-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Added deCONZ Ikea Tradfri Remote and Aqara Wireless Mini Switch #36
Conversation
Thanks for contributing, unfortunately you created a pull request just as I'm doing naming conventions and cleanup to keep things consistent between blueprints and the Switch Manager interaction. Could you just do a quick review of the README and reflect your blueprint to follow the naming and order conventions under Actions? Could you also use detailed images instead of a diagram as this is more intuititive and appealing... I've found a couple of images that would fit perfectly. https://med.greatecno.com/612932/xiaomi-aqara-wireless-mini-switch.jpg - This one would need to be cropped so there is no overhanging background. Also the blueprint for this does not need to define a shape or its position etc as it's only a single button. Lastly just mask out the background to be transparent https://i.ytimg.com/vi/nk4D_cxjANs/maxresdefault.jpg - You can just crop the left remote and make the background transparent Thanks! |
sure, let me look into it |
alright, I hope I got everything. I also changed the other deconz blueprints. Although the name have changes and I guess its breaking? |
0e7358d
to
f986638
Compare
ah, messed up the event ids while copy/paste the new action names. give me a sec 🙈 |
f986638
to
6482c61
Compare
alright messup is fixed |
Oh sorry, I didn't realise you did the deconz aqara's lol... I just updated them about 20 minutes ago. |
no worries, let me merge your changes |
While it might look nicer when everything else looks the same, it's just that all images are pictures so it looks a bit weird when you see a diagram drawing then a normal photo picture when selecting a blueprint imo. Not against the style just doesn''t really blend with the current images already being used.... I did want to point out the author for the aqara's (just coincidence that it happened to be you), that my changes would affect your setups once you decide to update the integration. So just be mindful of that. Also adding extra buttons or actions and remove them would invalidate users configs that are already using those blueprints so it's come to a point where things need to be set in stone and making sure the naming and stuff is adhered to to avoid future f*ck arounds. |
I'm still happy to merge with the images how you have them because that isn't set in stone, it's just that if a picture version happens to be merged the it will take preference, Nothing against it, it's just that pictures are take precedence over diagrams. sorry. |
Also there was an oversight in one of your aqara blueprints that I picked up when renaming everything and you accidently had an event for an action referencing the wrong button... Also should be press 2x and not press x2... fix that up then I can merge |
Just realised you used underscores for your file names... Now I have to fix that up... it should be '-'. This will also mean that the new file names will invalidate your switches if it can't find those blueprints... so You can keep your version with the underscores and your switches will be fine. It's just when you update, there will be the same blueprints as the updated ones will have a different file name, |
sure, thats up to you. In my opinion, I don't really see a big style change, looks good in my opinion. So I won't spend more time in redoing the images, but its totally fine for me if someone want to. press 2x and not press x2 is fixed and let me fix the underscore also. No worries abount my setup, I will just redo my switch, Currently only 2 are created. |
and the wrong referencing button in ikea tradfri is also fixed. |
Thanks heaps, Sorry to give you the run around but you did help me build a pull request template checkbox so been a big help regardless... It still shows on line 15 in deconz-aqara-wireless-mini-switch.yaml press x2 but I'm happy to change that myself. Won't break anything. CHEERS! |
Awesome, thank you for this great component, glad I could help and thx for fixing the last x2 ;) |
I'm curious to your TRADFRI remote blueprint... Seems the middle button has one action without hold but I just had a user copy your blueprint and adapted for Zigbee2MQTT yet his version has an extra action (hold) action for the middle button. Did you miss this or does deconz not support a hold action for the middle button? |
No, when I listen to the events in HA from deCONZ I only get the 1002 event (short release). Seems deCONZ does not support the hold action for the middle button. Not sure tough why, this would need more investigation in the deCONZ codebase I guess. |
Oh ok, all good. I actually loved deCONZ but resorted to Zigbee2MQTT in the end because of missing things, it's ashame thought because I prefer deCONZ over Zigbee2MQTT regarding everything else. |
Adding:
via the deCONZ integration