mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
Fix discoveryMethods (#16425)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
parent
9125decbdd
commit
7c54f1f957
@ -241,8 +241,8 @@ public class PanaBlurayHandler extends BaseThingHandler {
|
||||
synchronized (sequenceLock) {
|
||||
if (command instanceof RefreshType) {
|
||||
logger.debug("Unsupported refresh command: {}", command);
|
||||
} else if (BUTTON.equals(channelUID.getId()) || POWER.equals(channelUID.getId())
|
||||
|| CONTROL.equals(channelUID.getId())) {
|
||||
} else if (POWER.equals(channelUID.getId()) || CONTROL.equals(channelUID.getId())
|
||||
|| BUTTON.equals(channelUID.getId())) {
|
||||
final String commandStr;
|
||||
if (command instanceof OnOffType) {
|
||||
commandStr = CMD_POWER + command; // e.g. POWERON or POWEROFF
|
||||
|
@ -17,8 +17,8 @@
|
||||
<regex>(?i)Panasonic</regex>
|
||||
</match-property>
|
||||
<match-property>
|
||||
<name>modelName</name>
|
||||
<regex>(?i)BDT[1-3][1-2]0|BBT01|BDT500|UB[4|8]2[0|4]|UB900[0|4]</regex>
|
||||
<name>modelNumber</name>
|
||||
<regex>(?i).*(BDT[1-3][1-2]0|BBT01|BDT500|UB[4|8]2[0|4]|UB900[0|4]).*</regex>
|
||||
</match-property>
|
||||
</match-properties>
|
||||
</discovery-method>
|
||||
|
@ -169,7 +169,7 @@ status.unknown = Unknown
|
||||
error.hostname = Host Name must be specified.
|
||||
error.exception = Error communicating with the player.
|
||||
error.polling = Invalid status response received from player.
|
||||
error.keyerror = Error sending command to the player. Invalid playerKey length, should be 32 characters.
|
||||
error.keyerror = Invalid playerKey length, should be 32 characters.
|
||||
error.nonce = Error sending command to the player. Nonce retrieval failure.
|
||||
error.authkey = Error sending command to the player. Error creating auth key.
|
||||
error.invalid = Error sending command to the player. See README for player configuration instructions.
|
||||
|
Loading…
Reference in New Issue
Block a user