[miio/ntp] Fix wrong "Date" channel category (#11699)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-12-04 17:05:58 +01:00 committed by GitHub
parent ac752b97a7
commit 83f5f01267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -347,14 +347,14 @@
<item-type>DateTime</item-type> <item-type>DateTime</item-type>
<label>Cleaning Start</label> <label>Cleaning Start</label>
<description>Last Cleaning Start Time</description> <description>Last Cleaning Start Time</description>
<category>Date</category> <category>Time</category>
<state readOnly="true"/> <state readOnly="true"/>
</channel-type> </channel-type>
<channel-type id="last_clean_end_time"> <channel-type id="last_clean_end_time">
<item-type>DateTime</item-type> <item-type>DateTime</item-type>
<label>Cleaning End</label> <label>Cleaning End</label>
<description>Last Cleaning End Time</description> <description>Last Cleaning End Time</description>
<category>Date</category> <category>Time</category>
<state readOnly="true"/> <state readOnly="true"/>
</channel-type> </channel-type>
<channel-type id="last_clean_duration"> <channel-type id="last_clean_duration">

View File

@ -46,14 +46,14 @@
<item-type>DateTime</item-type> <item-type>DateTime</item-type>
<label>Date</label> <label>Date</label>
<description>NTP refreshed date &amp; time</description> <description>NTP refreshed date &amp; time</description>
<category>Date</category> <category>Time</category>
<state readOnly="true"/> <state readOnly="true"/>
</channel-type> </channel-type>
<channel-type id="string-channel"> <channel-type id="string-channel">
<item-type>String</item-type> <item-type>String</item-type>
<label>Date</label> <label>Date</label>
<description>NTP refreshed date &amp; time</description> <description>NTP refreshed date &amp; time</description>
<category>Date</category> <category>Time</category>
<state readOnly="true"/> <state readOnly="true"/>
<config-description> <config-description>
<parameter name="DateTimeFormat" type="text" required="false"> <parameter name="DateTimeFormat" type="text" required="false">