Mood Support

Hi Paul,

I've added support for moods to your lightwaverf gem (moods as per the master mood switches, not sequences), and a couple of other minor tweaks. Here's the list of things that should work:

Moods:
- Set a mood with "lightwaverf mood <room> <mood name>
- (Re)learn a mood with "lightwaverf learnmood <room> <mood name>

Timers:
- Use moods in google calender by creating an event as "mood <room> <mood name>"
- Use sequences in google calender by creating an event as "sequence <name>"

Sequences:
- Use moods in sequences by having the 3 elements as "mood" <room> <mood name>
- Have pauses in sequences by having 2 elements as "pause" <no of seconds>

States:
- Use predefined names for common device states ("low" = 25%, "mid" = 50%, high = "75%", full = "100%")

I've also updated the readme with info on most of this and a little bit on sequences that wasn't documented before ;o)

I'm new to Ruby too, so the coding is probably not very pretty, but I tried to follow your lead, so it should be understandable, and there's a bit of debug in there. I'm going to try and contribute to Ian Perrin's SiriProxy wrapper too, so hopefully this could all get quite useful.

Any questions about the code, just let me know. Happy to chat on phone too if easier - just let me know.

Cheers,

Julian