#Climate thermostat card used on entity other than temperature

1 messages · Page 1 of 1 (latest)

topaz vortex
#

Hi, I want to use thermostat card for charging my batteries. Instead of temperature,, the sensor will be SOC or battery voltage... It is possible?

#

Preferable dual-point configuration, with 2 tresholds : soc>low value - start charger/relay ... soc>high value-stop charger/relay

#

Maybe some slider with two setpoints, at least...

#

The range that the controller will try to keep the observed value in can be controlled through the front-end with the target_temperature_low and target_temperature_high values (see screenshot below). As soon as the observed temperature dips below or above this range it will activate one of the defined actions cool_action, heat_action and idle_action.

topaz vortex
#

Already have 2 automation , maybe could be done in one, but I wanted to have a nice thermostat like card, so easily adjust a slider to do the job...

#
  - platform: thermostat
    name: "Termostat Apometru"
    sensor: apometru
    visual:
      min_temperature: 0°C  # Sets the minimum selectable temp in UI
    min_heating_off_time: 60s
    min_heating_run_time: 60s
    min_idle_time: 30s
    heat_action:
      - switch.turn_on: releu
    idle_action:
      - switch.turn_off: releu
    default_preset: Home
    preset:
      - name: Home
        default_target_temperature_low: 20 °C```
#

this is the code for a simple thermostat, how the HA generate the card, some built-in code?

#

It only works with climate entities unfortunately.

#

not available in HACS