[powermax] New channel of type Contact to show the zone arm status (#9192)
Allow using lock icon from the classic iconset Allow displaying the "Locks" badge in MainUI Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
@@ -109,11 +109,18 @@
|
||||
|
||||
<channel-type id="armed">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Zone Armed</label>
|
||||
<label>Zone Armed (Switch)</label>
|
||||
<description>Whether or not the zone is armed</description>
|
||||
<state readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="locked">
|
||||
<item-type>Contact</item-type>
|
||||
<label>Zone Armed (Contact)</label>
|
||||
<description>Whether or not the zone is armed (CLOSED when armed)</description>
|
||||
<state readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="pgm_status" advanced="true">
|
||||
<item-type>Switch</item-type>
|
||||
<label>PGM Status</label>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<channels>
|
||||
<channel id="tripped" typeId="tripped"/>
|
||||
<channel id="armed" typeId="armed"/>
|
||||
<channel id="locked" typeId="locked"/>
|
||||
<channel id="last_trip" typeId="last_trip"/>
|
||||
<channel id="low_battery" typeId="system.low-battery"/>
|
||||
<channel id="bypassed" typeId="bypassed"/>
|
||||
|
||||
Reference in New Issue
Block a user