public abstract int formatToOmni(float format);
/**
- * Get the number which identifies this format as defined by the omniprotocol.
+ * Get the number which identifies this format as defined by the OmniLink protocol.
*
* @return Number which identifies this temperature format.
*/
import static org.openhab.binding.omnilink.internal.OmnilinkBindingConstants.*;
-import java.util.Map;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
.builder(bridgeHandler, ObjectPropertyRequests.AUDIO_SOURCE, thingID, 0).selectNamed().build();
for (AudioSourceProperties audioSourceProperties : objectPropertyRequest) {
- Map<String, String> properties = editProperties();
- properties.put(THING_PROPERTIES_NAME, audioSourceProperties.getName());
- updateProperties(properties);
+ updateProperty(THING_PROPERTIES_NAME, audioSourceProperties.getName());
}
}
import static org.openhab.binding.omnilink.internal.OmnilinkBindingConstants.*;
-import java.util.Map;
import java.util.Optional;
import org.eclipse.jdt.annotation.NonNullByDefault;
.builder(bridgeHandler, ObjectPropertyRequests.AUDIO_ZONE, thingID, 0).selectNamed().build();
for (AudioZoneProperties audioZoneProperties : objectPropertyRequest) {
- Map<String, String> properties = editProperties();
- properties.put(THING_PROPERTIES_NAME, audioZoneProperties.getName());
- updateProperties(properties);
+ updateProperty(THING_PROPERTIES_NAME, audioZoneProperties.getName());
}
}
import static org.openhab.binding.omnilink.internal.OmnilinkBindingConstants.*;
-import java.util.Map;
import java.util.Optional;
import org.eclipse.jdt.annotation.NonNullByDefault;
.builder(bridgeHandler, ObjectPropertyRequests.LOCK, thingID, 0).selectNamed().build();
for (AccessControlReaderProperties lockProperties : objectPropertyRequest) {
- Map<String, String> properties = editProperties();
- properties.put(THING_PROPERTIES_NAME, lockProperties.getName());
- updateProperties(properties);
+ updateProperty(THING_PROPERTIES_NAME, lockProperties.getName());
}
}