A simple widget that uses an F7 $ widget for use with Items that represent a monetary value. The icon will change color based on the Item’s state: < 50 green, 50 to 200 orange, > 200 red.
Screenshots
Changelog
Version 0.1
- initial release
Resources
uid: rlk_money_list
tags:
- list
- money
props:
parameters:
- description: Widget title
label: Title
name: title
required: false
type: TEXT
- context: item
description: Item to display
label: Item
name: item
required: false
type: TEXT
parameterGroups: []
component: oh-label-item
config:
item: =props.item
title: =props.title
iconColor: '=(items[props.item].state < 50) ? "green" : (items[props.item].state < 200) ? "orange" : "red"'
icon: f7:money_dollar_circle
actionAnalyzerItems: =[props.item]
action: analyzer