mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
1fb949ba8f
* Set a default presentation pattern for String/Number/Datetime items A default state pattern was previously provided by ChannelStateDescriptionProvider only for String and Number items linked to a channel. It is now the class DefaultStateDescriptionFragmentProvider which is responsible for providing the default state pattern for items, whether the item is linked to a channel or not. This new class is the lowest ranked StateDescriptionFragmentProvider so that all other providers have priority in setting the state pattern. Default pattern for string item: %s Default pattern for datetime item or group with datetime state: %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS Default pattern for number item or group with number state: %.0f Default pattern for number+dimension item or group with number+dimension state: %.0f %unit% Closes #4071 Closes #3835 Signed-off-by: Laurent Garnier <lg.hc@free.fr> |
||
---|---|---|
.. | ||
org.openhab.core.addon.tests | ||
org.openhab.core.auth.oauth2client.tests | ||
org.openhab.core.automation.integration.tests | ||
org.openhab.core.automation.module.core.tests | ||
org.openhab.core.automation.module.script.tests | ||
org.openhab.core.automation.module.timer.tests | ||
org.openhab.core.automation.tests | ||
org.openhab.core.config.core.tests | ||
org.openhab.core.config.discovery.mdns.tests | ||
org.openhab.core.config.discovery.tests | ||
org.openhab.core.config.discovery.usbserial.linuxsysfs.tests | ||
org.openhab.core.config.discovery.usbserial.tests | ||
org.openhab.core.config.dispatch.tests | ||
org.openhab.core.ephemeris.tests | ||
org.openhab.core.io.net.tests | ||
org.openhab.core.io.rest.core.tests | ||
org.openhab.core.model.item.tests | ||
org.openhab.core.model.rule.tests | ||
org.openhab.core.model.script.tests | ||
org.openhab.core.model.thing.tests | ||
org.openhab.core.model.thing.testsupport | ||
org.openhab.core.storage.json.tests | ||
org.openhab.core.tests | ||
org.openhab.core.thing.tests | ||
org.openhab.core.voice.tests | ||
itest-common.bndrun | ||
itest-include.bndrun | ||
pom.xml |