-
Notifications
You must be signed in to change notification settings - Fork 46
[Feature request] Add Swing mode toggle #42
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
Comments
Hello,I will need detailed explanation what exactly you would like to do, and what do you expect from it, step by step. i.E.. I want to open HA, see my climate card, have swing switch there, click on it, it shall do this or that... etc. But if I understand you correctly so far: To test this just press the swing button on your remote when unit is off. If it will not switch on, that this command is not something this integration could handle (it would be overkill to integrate all such custom features for all existing AC unit types, I need to keep this integration universal and versatile.) But you can implement any such dedicated command easy way by using custom on/off helper switch hooked to automation which would send your command using remote HA integration on each switch change |
My unit is like most - the commands contain all info: mode, temp. And the swing IR code only works when the unit is already on, it doesn't do anything when I press the swing button on the remote while it's off. So the swing code is just for toggling swing on/off, with no additional info being sent, and only works when the AC is on. Shame... I of course could cobble together a horizontal stack of the climate card and a button that sends the swing IR code, but it'd look a bit clunky (already tried it, and the button looked out of place). Granted, I'm no dashboard ninja :) I hoped to have this in the climate card itself. Thanks anyway! |
Thank you for explanation. Then it is as I was afraid. such custom commands are really outside of the current scope. You are free to fork and modify the code as you like, if you will come with any KISS (Keep It Simple Stupid), you can propose PR. But for now I am afraid I can't think of any. |
Looking through the open PRs of the original SmartIR repo, I came across this, seems to be of a similar logic? smartHomeHub#995 |
Ok, I will check this, but no promises. ;-) |
That's all I can ask for 🙂 |
Uh oh!
There was an error while loading. Please reload this page.
My AC's Swing mode is a simple toggle - send an IR code to swing the flaps, and by sending the same IR code it stops swinging the flap stays in the new position (many basic ACs work the same way).
Would it be possible to add a simple Swing mode (toggle it on-off)? Thanks!
According to HA docs, the climate entity has this variety (swing_off and swing_on): https://developers.home-assistant.io/docs/core/entity/climate#swing-modes
Edit: there was a request for SmartIR back in 2021, but nothing happened: smartHomeHub#746
The text was updated successfully, but these errors were encountered: