knalli / homebridge-pilight

Accessory plugin for Homebridge allowing to manage and control pilight devices
MIT License
16 stars 3 forks source link

Additional Type "Socket" #26

Open ramsnerm opened 7 years ago

ramsnerm commented 7 years ago

Hi, First of all great plugin in. I really like it in combination to add my 433MHz devices to the automation world.

Regarding the possible "types" I only miss the generic "socket". Is it possible to add it?

Many thanks BR / Martin

knalli commented 7 years ago

Sure. I think we have to add another case for this.

https://github.com/knalli/homebridge-pilight/blob/97ae8a72e8d0f63a1d43c95f70e0f1217796f522/index.js#L259-L289

You are welcome making contribution :)

Probably like the switch.. ?

ramsnerm commented 7 years ago

Thanks

knalli commented 6 years ago

Do we need more or will be the recent additions enough?