@@ -120,13 +120,13 @@ public class SamsungTvHandler extends BaseThingHandler implements RegistryListen
120
120
@ NonNullByDefault ({})
121
121
public class TVProperties {
122
122
class Device {
123
- boolean frameTVSupport ;
124
- boolean gamePadSupport ;
125
- boolean imeSyncedSupport ;
126
- String oS ;
127
- String powerState ;
128
- boolean tokenAuthSupport ;
129
- boolean voiceSupport ;
123
+ boolean FrameTVSupport ;
124
+ boolean GamePadSupport ;
125
+ boolean ImeSyncedSupport ;
126
+ String OS ;
127
+ String PowerState ;
128
+ boolean TokenAuthSupport ;
129
+ boolean VoiceSupport ;
130
130
String countryCode ;
131
131
String description ;
132
132
String firmwareVersion ;
@@ -143,22 +143,22 @@ class Device {
143
143
String isSupport ;
144
144
145
145
public boolean getFrameTVSupport () {
146
- return Optional .ofNullable (device ).map (a -> a .frameTVSupport ).orElse (false );
146
+ return Optional .ofNullable (device ).map (a -> a .FrameTVSupport ).orElse (false );
147
147
}
148
148
149
149
public boolean getTokenAuthSupport () {
150
- return Optional .ofNullable (device ).map (a -> a .tokenAuthSupport ).orElse (false );
150
+ return Optional .ofNullable (device ).map (a -> a .TokenAuthSupport ).orElse (false );
151
151
}
152
152
153
153
public String getPowerState () {
154
154
if (!getOS ().isBlank ()) {
155
- return Optional .ofNullable (device ).map (a -> a .powerState ).orElse ("on" );
155
+ return Optional .ofNullable (device ).map (a -> a .PowerState ).orElse ("on" );
156
156
}
157
157
return "off" ;
158
158
}
159
159
160
160
public String getOS () {
161
- return Optional .ofNullable (device ).map (a -> a .oS ).orElse ("" );
161
+ return Optional .ofNullable (device ).map (a -> a .OS ).orElse ("" );
162
162
}
163
163
164
164
public String getWifiMac () {
0 commit comments