Add xPL x10 basic support (input from Roger on mailing list) #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I send in this pull request after Roger requested to commit his proposed change to support x10basic xPL messages.
The only change I made compared to the input from Roger is that I added the code so a separate file. In my opinion, adding everything to xPL_Items.pm does not help in keeping the code structured and maintainable.
I did some basic testing on this code, however, I don't have actual hardware to test this on. I think the code is missing a bit that allows you to click an item in the web interface to toggle its status. Now you really need to call $item->send_on() to cause the xPL message to be generated.