{{#Name=Status Text}} {{#Description=Displays the status of a device feature}} {{#Version=1.0}} {{#Author=HomeSeer}} {{#CanBeDeleted=False}} {{#SaveList=save_title_color,save_title_size,save_text_color,save_text_size,save_text_bold,save_includelastchange,save_lastchange_color,save_lastchange_size}} {{includefileraw Dashboards/Cards/Custom/Common/CommonHeader.html}} {{#get settings that will also be used in the autogenerate settings dialog. This fills the arrays above}} {{sections[index]="Title"}} {{title=get_value 'save_title' '' 'Name' 'text'}} {{title_color=get_value 'save_title_color' '#000000' 'Color' 'color'}} {{title_size=get_value 'save_title_size' '16' 'Size' 'text'}} {{sections[index]="Status"}} {{text_color=get_value 'save_text_color' '#000000' 'Color' 'color'}} {{text_size=get_value 'save_text_size' '16' 'Size' 'text'}} {{text_bold=get_value 'save_text_bold' 'on' 'Bold' 'toggle'}} {{text_value=get_value 'save_text_value' '' 'Display Value' 'toggle'}} {{text_suffix=get_value 'save_text_suffix' '' 'Suffix' 'text'}} {{value_dec_places=get_value 'save_dec_places' '0' 'Dec Places' 'text'}} {{sections[index]="Last Change"}} {{include_lastchange=get_value 'save_includelastchange' 'off' 'Display' 'toggle'}} {{lastchange_color=get_value 'save_lastchange_color' '#000000' 'Color' 'color'}} {{lastchange_size=get_value 'save_lastchange_size' '14' 'Size' 'text'}} {{lastchange_bold=get_value 'save_lastchange_bold' '' 'Bold' 'toggle'}} {{#get settings that will not be configured with the settings dialog}} {{# these are values that may or may not be displayed in the setings dialog but need to be displayed with custom HTML that the autogen code cannot handle }} {{feature_item_ref=get_saved_value 'save_feature_item' widget_id}} {{if feature_item_ref=='' feature_item_ref='0' end}} {{# normal display HTML is here. This is what is displayed when viewing the card in non-edit mode}}