The color of the badges will depend on your theme.
ui-lovelace.yaml- type: picture-elementsimage: /local/plants.jpgelements:- type: state-badgeentity: sensor.small_chili_moisturestyle:top: 27%left: 10%--ha-label-badge-font-size: 1em- type: state-badgeentity: sensor.big_chili_moisturestyle:top: 27%left: 25%--ha-label-badge-font-size: 1em- type: state-badgeentity: sensor.herbs_moisturestyle:top: 27%left: 40%--ha-label-badge-font-size: 1em- type: state-labelentity: sensor.greenhouse_temperaturestyle:top: 15%left: 92%--ha-label-badge-font-size: 1em
Here is the config for a combined temperature sensor
This requires you to have the following component setup
Mi Flora
or some other kind of plant sensors with moisture and temperature.
Change the entity ids to those of your temperature sensors.
sensor:- platform: min_maxname: Greenhouse temperaturetype: meanentity_ids:- sensor.small_chili_temperature- sensor.big_chili_temperature- sensor.herbs_temperature