kokuwaio / esh-constants-maven-plugin

A Maven plugin that generates a Java constants class from the content of the ESH-INF folder. Very useful for e.g. OpenHAB binding development.
Apache License 2.0
4 stars 2 forks source link

Add grouped channel ids and Thing Type UID Strings #65

Closed dmfs closed 1 year ago

dmfs commented 1 year ago

Add grouped channel ids

Having groupId and channelId in separate constants is not useful and makes things more complicated. This commit deprecates these constants and introduces GCID_* constants that contain group (if applicable) and channel id.

This commit also deprecates the GROUP_TYPE_ID_* and CHANNEL_TYPE_ID_*

Generate String UIDs for Thing and Bridge Types

This generates constants of String representations of ThingTypeUIDs for each brigde and thing type. This is often more useful than separate binding and thing type ids.