Giter Club home page Giter Club logo

Comments (5)

ScratMan avatar ScratMan commented on June 15, 2024 1

Please update to release v2021.11.7, it fixes this issue by allowing setting a preset temperature to 0.

from hasmartthermostat.

ScratMan avatar ScratMan commented on June 15, 2024

Hello, you need to change the configuration of the smart thermostat in the YAML file, to add the required preset temperatures.
You may use one or several of the parameters shown in the readme file :

  • away_temp (Optional): Set the temperature used by the "Away" preset. If this is not specified, away_mode feature will not be available.
  • eco_temp (Optional): Set the temperature used by the "Eco" preset. If this is not specified, eco feature will not be available.
  • boost_temp (Optional): Set the temperature used by the "Boost" preset. If this is not specified, boost feature will not be available.
  • comfort_temp (Optional): Set the temperature used by the "Comfort" preset. If this is not specified, comfort feature will not be available.
  • home_temp (Optional): Set the temperature used by the "Home" preset. If this is not specified, home feature will not be available.
  • sleep_temp (Optional): Set the temperature used by the "Sleep" preset. If this is not specified, sleep feature will not be available.
  • activity_temp (Optional): Set the temperature used by the "Activity" preset. If this is not specified, activity feature will not be available.

Then the enable presets will be available in the thermostat entity panel as drop-down list as shown :
Screenshot_2021-11-15-14-00-51-59_c3a231c25ed346e59462e84656a70e50

from hasmartthermostat.

widewing avatar widewing commented on June 15, 2024

@ScratMan I set these items as in below configurations:

climate:
  - platform: smart_thermostat
    name: Smart Thermostat - Living Room
    heater: switch.living_room_heater
    target_sensor: sensor.ble_temperature_e72e0171f422
    min_temp: 7
    max_temp: 28
    ac_mode: False
    target_temp: 19
    keep_alive:
      seconds: 60
    away_temp: 0
    sleep_temp: 17
    home_temp: 19
    kp : 75
    ki : 0.001
    kd : 70000
    pwm : 00:15:00

However I see only Operation for heat or off:
image

from hasmartthermostat.

ScratMan avatar ScratMan commented on June 15, 2024

What version are you using ? And did you restart HA after editing the YAML ?

Edit: there may be a concern with your away temp, 0 is below the min target temp. Need to check the behavior of HA in this case.

from hasmartthermostat.

ScratMan avatar ScratMan commented on June 15, 2024

I could reproduce the issue by setting away_temp to 0. The preset selector then disappears after restart.

from hasmartthermostat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.