Created
January 25, 2013 05:11
-
-
Save nixterrimus/4631943 to your computer and use it in GitHub Desktop.
Adapter, again
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Adapter::HueAdapter < Adapter::Base | |
creator "Nick Rowe" | |
adapts_to "Philips Hue Lighting System" | |
website "http://github.com/nixterrimus/hue-spirit-adapter" | |
implements :light | |
requires_setup true | |
settings do | |
ip_address :adapter_address, required: true, description: "The network address of the white puck-shaped hue base station." | |
string :base_station_nickname | |
number :fade_time, description: "Fade time in milliseconds" | |
end | |
def initialize | |
end | |
def apply_device_state(device) | |
end | |
def update_device_state(device) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment