]> git.basschouten.com Git - openhab-addons.git/commitdiff
[freeboxos] Enhance state display pattern for uptime (#17218)
authorGaël L'hopital <gael@lhopital.org>
Thu, 8 Aug 2024 23:03:27 +0000 (01:03 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Aug 2024 23:03:27 +0000 (01:03 +0200)
* Enhance state display pattern for uptime

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
bundles/org.openhab.binding.freeboxos/src/main/resources/OH-INF/thing/channel-types.xml

index 70d9a68d982940bb2cd519408904727ec66a43e6..bf1c744156913e4b434a0c11ab92f964a7247173 100644 (file)
                <label>Uptime</label>
                <description>Time since last reboot of the equipment</description>
                <category>time</category>
-               <state readOnly="true" pattern="%d %unit%"/>
+               <state readOnly="true" pattern="%1$tdd %1$tHh %1$tMm %1$tSs"/>
        </channel-type>
 
        <channel-type id="line-status">