Fixed SAT findings for new SAT 0.11.1 release (#10518)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
committed by
GitHub
parent
9e4b67ee09
commit
a04cfd3389
@@ -130,6 +130,7 @@ Please note:
|
||||
The binding tries to detect and maintain the correct state, but due to device limitations this is not always possible.
|
||||
Make sure the receiver's and binding's state are in sync when OH is restarted (binding assumes state is OFF).
|
||||
- Channels receiving event information get updated when changing the channel or playing a video.
|
||||
|
||||
There is no way to read the current status, therefore they don't get initialized on startup nor being updated in real-time.
|
||||
|
||||
The player channel supports the following actions:
|
||||
@@ -327,4 +328,4 @@ to switch it ON and
|
||||
|
||||
to switch it off.
|
||||
|
||||
After an openHAB restart you need to make sure that OH and receiver are in sync, because the binding can't read the power status at startup.
|
||||
After an openHAB restart you need to make sure that OH and receiver are in sync, because the binding can't read the power status at startup.
|
||||
|
||||
@@ -139,7 +139,7 @@ public class MagentaTVDeviceManager {
|
||||
MagentaTVDevice dev = deviceList.get(udn.toUpperCase());
|
||||
return dev.properties;
|
||||
}
|
||||
if (deviceList.size() > 0) {
|
||||
if (!deviceList.isEmpty()) {
|
||||
logger.debug("getDiscoveredProperties(): Unknown UDN: {}", udn);
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -222,7 +222,7 @@ public class MagentaTVOAuth {
|
||||
if (method.equals(HttpMethod.POST)) {
|
||||
fillPostData(request, data);
|
||||
}
|
||||
if (cookies.size() > 0) {
|
||||
if (!cookies.isEmpty()) {
|
||||
// Add cookies
|
||||
String cookieValue = "";
|
||||
for (HttpCookie c : cookies) {
|
||||
|
||||
@@ -104,4 +104,3 @@ channel-type.magentatv.key.command.option.SWITCH = IPTV/DVB
|
||||
channel-type.magentatv.key.command.option.IPTV = IPTV
|
||||
channel-type.magentatv.key.command.option.PIP = PIP
|
||||
channel-type.magentatv.key.command.option.MULTIVIEW = Multi View
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<representation-property>macAddress</representation-property>
|
||||
|
||||
<config-description uri="thing-type:magentatv:receiver">
|
||||
<config-description>
|
||||
<parameter name="ipAddress" type="text" required="true">
|
||||
<label>Device IP Address</label>
|
||||
<description>IP address of the receiver</description>
|
||||
|
||||
Reference in New Issue
Block a user