openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[Horizon] Update README with better sendCommand alternative #5799

Closed semperor closed 5 years ago

semperor commented 5 years ago

Please use the object method instead of the static method. :) see https://www.openhab.org/docs/configuration/rules-dsl.html#manipulating-item-states

Furthermore, it should be considered whether the sendCommand method should be used.

9037568 commented 5 years ago

For future reference, if you're planning to make the same relatively minor types of changes to a bunch of files (e.g. converting one format to another), please submit one PR with all of the changes.

semperor commented 5 years ago

For future reference, if you're planning to make the same relatively minor types of changes to a bunch of files (e.g. converting one format to another), please submit one PR with all of the changes.

I also thought about it. But it seemed to me better this way, as the bindings are maintained by different people.