I have switch actuators for the floor heating which I have integrated via mqtt in ha
example mqtt heating
- platform: mqtt
name: KitchenHeating
command_topic: fhem/set/Kitchen.Heating
payload_on: on
payload_off: off
state_topic: fhem/set/Kitchen.Heating/state
state_on: on
state_off: off
availability_topic: fhem/connection/status
payload_available: connected
payload_not_available: disconnected
icon: mdi:hydraulic-oil-temperature
I also have temperature sensors which I also integrated via mqtt in ha
example mqtt temperature sensor
- platform: mqtt
name: kitchenTemperature
state_topic: fhem/kitchen.Sensor.temp/temperature
unit_of_measurement: °C
icon: mdi:thermometer
value_template: ‘{{ value | round(1) }}’
expire_after: 25000
availability_topic: fhem/connection/status
payload_available: connected
payload_not_available: disconnected
Then I have two automations per heating entity
turn heating on when temperature is lower than
example automation for heating on
- id: 16000000
alias: heating on kitchen
description:
trigger:- platform: numeric_state
entity_id: sensor.kitchenTemperature
below: 20
for:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0
condition: []
action: - service: switch.turn_on
target:
entity_id:- switch.heatingkitchen
mode: single
- switch.heatingkitchen
- platform: numeric_state
and switch heating off when temperature is higher than
example automation for heating off
- id: 160000001
alias: heating off kitchen
description: ’
trigger:- platform: numeric_state
entity_id: sensor.kitchenTemperature
above: 21
for:
hours: 0
minutes: 0
seconds: 0
milliseconds: 0
condition: []
action: - service: switch.turn_off
target:
entity_id:- switch.heatingkitchen
mode: single
- switch.heatingkitchen
- platform: numeric_state
So far so good, the automations work as they should.
Now I want to create a love lace card for the user interface which allows to set the temperature values for heating on (20°C) and heating off (21°C).
Something like a thermostat display where I can set heating on (20°C) and heating off (21°C).
I am not sure how to create this Love Lace card.