philip1986 / pimatic-led-light

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

Different state handling #31

Open Xento opened 8 years ago

Xento commented 8 years ago

The state handling with this plugin is different to normal devices. When you want to use the state (on / off) in a rule you can use "if switch is on" for normal devices. When you want to do the same with this plugin you have to write "if power of ledlight is on". I think there should be a consisten syntax for rules.

scobby commented 8 years ago

true!

scobby commented 8 years ago

currently turnOn and turnOff are not implemented. You cant react with rules to statechange or variable change. look at the sourcecode.

scobby commented 7 years ago

any changes here?

mwittig commented 7 years ago

turnOn and turnOff have been implemented.