This code produces the following card in HA. Dependences include:
- replace the occurance of
sensor.gw1100c_outdoor_temperature
with your outdoor temperature - replace the occurance of
sensor.bedroom_temperature
with your indoor temperature
This code produces the following card in HA. Dependences include:
sensor.gw1100c_outdoor_temperature
with your outdoor temperaturesensor.bedroom_temperature
with your indoor temperaturesudo ./tuya-cloudcutter.sh -s <ssid> <pwd>
logseq.order-list-type:: numbersudo ./tuya-cloudcutter.sh -f ESPHome-Kickstart-v23.08.29_bk7231t_app.ota.ug.bin
logseq.order-list-type:: numbersensor: | |
- platform: template | |
sensors: | |
total_energy: | |
friendly_name: "Total Energy" | |
unit_of_measurement: 'Wh' | |
value_template: > | |
{% set device_a_energy = states('sensor.device_a_energy') | float %} | |
{% set device_b_energy = states('sensor.device_b_energy') | float %} | |
{% set device_c_energy = states('sensor.device_c_energy') | float %} |
type: custom:mushroom-template-card | |
layout: vertical | |
primary: Home | |
icon_color: |- | |
{% if is_state('input_boolean.away_mode', 'off') %} | |
green | |
{% else %} | |
red | |
{% endif %} | |
fill_container: true |
type: vertical-stack | |
cards: | |
- type: custom:mushroom-title-card | |
title: '' | |
alignment: center | |
subtitle: ROOMS | |
- square: false | |
type: grid | |
columns: 2 | |
cards: |
<file.jpg>
in the config below with the name of your image