[senechome] changed BatteryState to String (#9521)
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
This commit is contained in:
parent
3533001bd7
commit
65c3d5f6f9
|
@ -16,7 +16,7 @@
|
||||||
<channel id="energyProduction" typeId="energyProduction"/>
|
<channel id="energyProduction" typeId="energyProduction"/>
|
||||||
<channel id="batteryPower" typeId="batteryPower"/>
|
<channel id="batteryPower" typeId="batteryPower"/>
|
||||||
<channel id="batteryFuelCharge" typeId="batteryFuelCharge"/>
|
<channel id="batteryFuelCharge" typeId="batteryFuelCharge"/>
|
||||||
<channel id="batteryState" typeId="system.battery-level"/>
|
<channel id="batteryState" typeId="batteryState"/>
|
||||||
<channel id="batteryStateValue" typeId="batteryStateValue"/>
|
<channel id="batteryStateValue" typeId="batteryStateValue"/>
|
||||||
<channel id="gridPower" typeId="gridPower"/>
|
<channel id="gridPower" typeId="gridPower"/>
|
||||||
<channel id="gridPowerSupply" typeId="gridPowerSupply"/>
|
<channel id="gridPowerSupply" typeId="gridPowerSupply"/>
|
||||||
|
@ -98,6 +98,13 @@
|
||||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
<channel-type id="batteryState">
|
||||||
|
<item-type>String</item-type>
|
||||||
|
<label>Battery State</label>
|
||||||
|
<category>Battery</category>
|
||||||
|
<state readOnly="true" pattern="%s"/>
|
||||||
|
</channel-type>
|
||||||
|
|
||||||
<channel-type id="batteryStateValue">
|
<channel-type id="batteryStateValue">
|
||||||
<item-type>Number</item-type>
|
<item-type>Number</item-type>
|
||||||
<label>Battery State Value</label>
|
<label>Battery State Value</label>
|
||||||
|
|
Loading…
Reference in New Issue