Hello,
To make the value bigger, you need to modify the custom map object to include the value within a span tag and apply a CSS style as illustrated below:
<span class="label" style="font-size:40px;"><#objectstatus name="lastvalue" id="<@objectid>"></span>
Here is the entire code:
<!--Status Icons: Last Value (On White)-->
<div class="map_object map_icon mapicon_status_white" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="topleftcoordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<#checkobjecttype objecttype="sensor" nicemessage="true" id="<@objectid>">
<span class="label" style="font-size:40px;"><#objectstatus name="lastvalue" id="<@objectid>"></span>
<#mapobject type="htmlafter" subid="<@subid>">
</div>
Of course, feel free to change the name of the object as well as the font size by modifying the first line as well as the value after "font-size:".
Concerning the unit displayed, I'm afraid that it belongs to the value (they both come together) and therefore can't be removed.
Regards.
Add comment