Skip to content

3.4.0.01

Compare
Choose a tag to compare
@frejos frejos released this 15 Jan 23:08
· 5 commits to main since this release
  • Updated to build for 3.4.0 OH dependencies
  • Added ability to send the light mode name to the LightMode channel in addition to the light mode scene id. Most UI components handled this mapping automatically using the metadata, however, in rules it was cumbersome to have to look up the corresponding ids. You man now send the string name to the channel. Names are standardized for case and white space before matching. All of the below are valid in JavaScript rules:
    items.getItem("BulbName_LightMode").sendCommand("DayLight");
    items.getItem("BulbName_LightMode").sendCommand("Day Light");
    items.getItem("BulbName_LightMode").sendCommand("daylight");
    items.getItem("BulbName_LightMode").sendCommand(12);
    items.getItem("BulbName_LightMode").sendCommand("12");