Skip to content

Commit

Permalink
Fixed bugs reported by Travis CI (I hope)
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Pecta <[email protected]>
  • Loading branch information
octa22 committed May 16, 2018
1 parent bcbf336 commit 5497ebe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<label>Somfy Tahoma Bridge</label>
<description>Somfy Tahoma bridge enabling communication with Somfy devices</description>

<channels/>
<config-description-ref uri="bridge-type:somfytahoma:bridge"/>
</bridge-type>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ private void updateGatewayState(Thing thing, String id) {
}
String version = getTahomaVersion(id);
for(Channel channel : thing.getChannels()) {
if(channel.getChannelTypeUID().equals(VERSION)) {
if(channel.getUID().getId().equals(VERSION)) {
logger.info("Updating channel version!");
updateState(channel.getUID(), new StringType(version));
}
Expand Down

0 comments on commit 5497ebe

Please sign in to comment.