fix update Readings when TV is off

This commit is contained in:
Marko Oldenburg 2017-02-15 10:31:25 +01:00
parent 07a5c97399
commit cb25d365a7

View File

@ -931,7 +931,11 @@ sub LGTV_WebOS_WriteReadings($$) {
readingsBulkUpdate($hash,'channel','-');
readingsBulkUpdate($hash,'channelMedia','-');
readingsBulkUpdate($hash,'channelCurrentTitle','-');
readingsBulkUpdate($hash,'channelCurrentStartTime','-');
readingsBulkUpdate($hash,'channelCurrentEndTime','-');
readingsBulkUpdate($hash,'channelNextTitle','-');
readingsBulkUpdate($hash,'channelNextStartTime','-');
readingsBulkUpdate($hash,'channelNextEndTime','-');
}
readingsEndUpdate($hash, 1);