change ShuttersInformation fn
add table frame and whitespace-character to ShuttersInformation [Ticket: no]
This commit is contained in:
parent
97caf64308
commit
4925e654ec
@ -1462,7 +1462,7 @@ __END__
|
||||
],
|
||||
"release_status": "stable",
|
||||
"license": "GPL_2",
|
||||
"version": "v0.10.21",
|
||||
"version": "v0.10.22",
|
||||
"author": [
|
||||
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
|
||||
],
|
||||
|
@ -1,10 +1,10 @@
|
||||
UPD 2022-01-15_15:48:05 116177 FHEM/73_AutoShuttersControl.pm
|
||||
UPD 2022-02-01_09:11:59 75817 lib/FHEM/Automation/ShuttersControl.pm
|
||||
UPD 2022-03-04_06:58:36 116177 FHEM/73_AutoShuttersControl.pm
|
||||
UPD 2022-03-04_06:55:50 76011 lib/FHEM/Automation/ShuttersControl.pm
|
||||
UPD 2022-01-14_08:49:13 2691 lib/FHEM/Automation/ShuttersControl/Dev.pm
|
||||
UPD 2022-01-14_08:49:13 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm
|
||||
UPD 2022-01-14_08:49:13 32016 lib/FHEM/Automation/ShuttersControl/Shutters.pm
|
||||
UPD 2022-01-14_08:49:13 25452 lib/FHEM/Automation/ShuttersControl/Shading.pm
|
||||
UPD 2022-03-02_16:46:29 112109 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
|
||||
UPD 2022-03-02_16:50:08 112109 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
|
||||
UPD 2022-01-14_08:49:13 40603 lib/FHEM/Automation/ShuttersControl/Helper.pm
|
||||
UPD 2022-01-14_08:49:13 2209 lib/FHEM/Automation/ShuttersControl/Window.pm
|
||||
UPD 2022-01-14_08:49:13 11857 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
|
||||
|
@ -1582,8 +1582,8 @@ sub ShuttersInformation {
|
||||
|| !defined( $shutters->getSunsetUnixTime ) );
|
||||
|
||||
my $ret =
|
||||
'<html><table><tr><h3>ASC Configuration and Information Summary</h3><td>';
|
||||
$ret .= '<table class="block wide">';
|
||||
'<html><table border rules=all border frame=box><tr><h3>ASC Configuration and Information Summary</h3><td>';
|
||||
$ret .= '<table class="block wide" rules=all>';
|
||||
$ret .= '<tr class="even">';
|
||||
$ret .= "<td><b>Shutters</b></td>";
|
||||
$ret .= "<td> </td>";
|
||||
@ -1618,43 +1618,44 @@ sub ShuttersInformation {
|
||||
|
||||
if ( $linecount % 2 == 0 ) { $ret .= '<tr class="even">'; }
|
||||
else { $ret .= '<tr class="odd">'; }
|
||||
$ret .= "<td>$shuttersDev</td>";
|
||||
$ret .= "<td> $shuttersDev </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>"
|
||||
$ret .= "<td> "
|
||||
. strftime( "%d.%m.%Y - %H:%M:%S",
|
||||
localtime( $shutters->getSunriseUnixTime ) )
|
||||
. "</td>";
|
||||
. " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>"
|
||||
$ret .= "<td> "
|
||||
. strftime( "%d.%m.%Y - %H:%M:%S",
|
||||
localtime( $shutters->getSunsetUnixTime ) )
|
||||
. "</td>";
|
||||
. " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getUp . "</td>";
|
||||
$ret .= "<td> " . $shutters->getUp . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getDown . "</td>";
|
||||
$ret .= "<td> " . $shutters->getDown . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getModeUp . "</td>";
|
||||
$ret .= "<td> " . $shutters->getModeUp . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getModeDown . "</td>";
|
||||
$ret .= "<td> " . $shutters->getModeDown . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getPartyMode . "</td>";
|
||||
$ret .= "<td> " . $shutters->getPartyMode . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getLockOut . "</td>";
|
||||
$ret .= "<td> " . $shutters->getLockOut . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>"
|
||||
. ::ReadingsVal( $shuttersDev, 'ASC_ShuttersLastDrive', 'none' )
|
||||
. "</td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getStatus . "</td>";
|
||||
$ret .= "<td> " . $shutters->getStatus . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>" . $shutters->getLastPos . "</td>";
|
||||
$ret .= "<td> " . $shutters->getLastPos . " </td>";
|
||||
$ret .= "<td> </td>";
|
||||
$ret .= "<td>"
|
||||
$ret .=
|
||||
"<td> "
|
||||
. $shutters->getShadingStatus . ' - '
|
||||
. strftime( "%H:%M:%S",
|
||||
localtime( $shutters->getShadingStatusTimestamp ) )
|
||||
. "</td>";
|
||||
. " </td>";
|
||||
$ret .= '</tr>';
|
||||
$linecount++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user