philip1986 / pimatic-led-light

A template for creating plugins
http://pimatic.org/
GNU General Public License v2.0
7 stars 13 forks source link

Alternative ui #52

Open philip1986 opened 8 years ago

philip1986 commented 8 years ago

New UI Style and advanced device config (supportedModes).

NOTE: This PR also includes changes about the way power state is handled. To migrate to the this UI version device state db should be truncated! Also the behavior in case of power state false changed, the plugin won't fire any command in this case. Not sure if this is the best way to go!?

I tested it mostly with Milight devices! I would be glad about feedback, how it works for other devices.

@mwittig please have a look and tell me what you think.

mwittig commented 8 years ago

@philip1986 I'll have a look asap and get back to you

Xento commented 8 years ago

Greate When you use pimatic-hap, than you have to change the powerstate in this plugin because at the moment it uses "on" and "off" as strings. I changed the mode function for my milight24 device, too. So its greate that this will be implemented.

I think the actionhandler for mode is missing. You can take mine.

MaxWinterstein commented 6 years ago

is there any work on this? Would love to have Color and Non-Color Bulbs and don't look at that color slider when it is not needed.