SuccessChanges

Summary

  1. Extend ChannelType by command options (#5131) (details)
Commit 7c6c6bb77659a2dbc14d38a12c4114c5ac18bebf by Kai Kreuzer
Extend ChannelType by command options (#5131)
* WIP: Extend ChannelType description by command options
This is WIP and open for discussion.
This addresses #5099 by adding command options as an alternative to a
state description.
Command options will be rendered as push buttons by UIs and send the
corresponding command value as a command to the channel.
proposal, the state of the channel will not be represented in the UI, so
ThingHandelers may not even update the state.
Signed-off-by: Henning Treu <henning.treu@telekom.de>
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.test/src/test/java/org/eclipse/smarthome/core/thing/internal/ChannelStateDescriptionProviderOSGiTest.java (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml/thing-description-1.0.0.xsd (diff)
The file was modifieddistribution/smarthome/conf/items/demo.items (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml/src/main/java/org/eclipse/smarthome/core/thing/xml/internal/ThingDescriptionReader.java (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/component.control.tab.html (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/internal/items/ItemRegistryImpl.java (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml.test/src/test/resources/test-bundle-pool/ChannelTypesI18nTest.bundle/ESH-INF/i18n/somebinding.properties (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/component.control.item.js (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.test/src/test/java/org/eclipse/smarthome/core/items/GenericItemTest.java (diff)
The file was addedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/internal/ChannelCommandDescriptionProvider.java
The file was modifiedbundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/item/EnrichedGroupItemDTO.java (diff)
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/service/CommandDescriptionService.java
The file was modifieddocs/documentation/development/bindings/xml-reference.md (diff)
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/types/CommandOption.java
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/string/component.control.string.js (diff)
The file was modifieddocs/documentation/features/internationalization.md (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml/src/main/java/org/eclipse/smarthome/core/thing/xml/internal/XmlChannelTypeProvider.java (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml.test/src/test/java/org/eclipse/smarthome/core/thing/xml/test/ChannelTypesI18nTest.java (diff)
The file was addedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/component.control.commandOptions.js
The file was modifiedbundles/model/org.eclipse.smarthome.model.thing.tests/src/test/java/org/eclipse/smarthome/model/thing/test/hue/TestHueChannelTypeProvider.java (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/type/ChannelType.java (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/component.control.item.html (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/type/StateChannelTypeBuilder.java (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/repositories/repositories-module.js (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/internal/type/StateChannelTypeBuilderImpl.java (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml.test/src/test/resources/test-bundle-pool/ChannelTypesI18nTest.bundle/ESH-INF/thing/thing-types.xml (diff)
The file was addedbundles/core/org.eclipse.smarthome.core.thing.xml/src/main/java/org/eclipse/smarthome/core/thing/xml/internal/CommandDescriptionConverter.java
The file was modifiedtools/static-code-analysis/checkstyle/suppressions.xml (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/switch/component.control.switch.html (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/switch/component.control.switch.js (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/i18n/ThingTypeI18nUtil.java (diff)
The file was modifiedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/string/component.control.string.html (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/dto/ChannelTypeDTO.java (diff)
The file was modifiedextensions/binding/org.eclipse.smarthome.binding.sonos/ESH-INF/thing/channels.xml (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml/src/main/java/org/eclipse/smarthome/core/thing/xml/internal/ChannelTypeConverter.java (diff)
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/internal/service/CommandDescriptionServiceImpl.java
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/internal/types/CommandDescriptionImpl.java
The file was modifiedbundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/internal/channel/ChannelTypeResource.java (diff)
The file was modifiedbundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/item/EnrichedItemDTOMapper.java (diff)
The file was addedextensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/control/component.control.commandOptions.html
The file was modifiedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/items/GenericItem.java (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.test/src/test/java/org/eclipse/smarthome/core/items/ItemRegistryImplTest.java (diff)
The file was addedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/type/DynamicCommandDescriptionProvider.java
The file was modifiedbundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/item/EnrichedItemDTO.java (diff)
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/types/CommandDescription.java
The file was modifiedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/items/Item.java (diff)
The file was modifiedbundles/test/org.eclipse.smarthome.magic/ESH-INF/thing/channel-types.xml (diff)
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/i18n/ChannelTypeI18nLocalizationService.java (diff)
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/types/CommandDescriptionProvider.java
The file was modifiedbundles/core/org.eclipse.smarthome.core.thing.xml.test/org.eclipse.smarthome.core.thing.xml.test.launch (diff)
The file was addedbundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/types/CommandDescriptionBuilder.java