|
Re: [Feature Request] TOGGLE-command for switch items [message #1690912 is a reply to message #1690713] |
Tue, 31 March 2015 21:18 |
Kai Kreuzer Messages: 673 Registered: December 2011 |
Senior Member |
|
|
Especially your scene example hints that this is already a kind of "mini-rule". Toggling, rotating etc. requires information about some state - but the system is designed in a way that it should not be required to have access to the state. Think of a 433MHz switchable outlet, which is uni-directional: A binding would have to know what to do for ON and OFF, but TOGGLE is not possible as it cannot know the device state (you might have changed it manually at the device itself meanwhile). You could of course "feel lucky" and just send the invers of the item state, but this is then rather a rule topic than a "supported command" topic. So yes, within rules, it can be convenient if you do not have to check the state yourself, but have some method available to do so - with the new rule engine (see thread "modular rule engine", this will be easily possible for sure. But I do not think that it would be a good idea to introduce a new command type for the switch item.
Best regards,
Kai
|
|
|
Powered by
FUDForum. Page generated in 0.02525 seconds