Fix discoveryMethods (#16425)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
mlobstein 2024-02-19 07:11:56 -06:00 committed by GitHub
parent 9125decbdd
commit 7c54f1f957
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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>

View File

@ -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.