Giter VIP home page Giter VIP logo

Comments (25)

swingerman avatar swingerman commented on August 17, 2024 1

I detected an issue that the supported features are detected when you change HVAC modes. supported_features sets if the thermostat supports preset mode or not.
It's bugg. Working on the fix.
Will be out in 1-2 days

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024 1

Wait with this @mbrevda.
I am currently working on this.

I plan to release a beta today or tomorrow.

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

bump - anything I can do to move this forward?

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024
  • preset_modes are the available preset modes - based on your configuration.
  • preset_mode is the currently selected preset mode

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

I see
But why are some entites missing the preset_modes altogether?

from ha-dual-smart-thermostat.

paulius2k avatar paulius2k commented on August 17, 2024

@mbrevda have you defined any of the preset_modes in the configuration of your "boys_room" thermostat? Like away: or home:? If you haven't, then they will not be available for you.

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

Yes, I have - see yaml above

from ha-dual-smart-thermostat.

paulius2k avatar paulius2k commented on August 17, 2024

Sorry, my bad for missing it.

Try fixing your temps in away preset:
target_temp_low: 50 0
target_temp_high: 0 50

This will fix your problem.

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

This will fix your problem.

I don't think it did?

Screenshot 2024-03-17 at 12 26 02 PM

from ha-dual-smart-thermostat.

paulius2k avatar paulius2k commented on August 17, 2024

I tried it in my setup, and it works. Then it could be some other parameter which is influencing this in your setup.:

P.S. sorry to ask, but you did remember to reload your yaml config after changes? :)

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

did remember to reload your yaml config after changes

Yes, I did, and also reloaded home assistant when I didn't see the changes.

I tried it in my setup, and it works

I'm sure. Where do I go from here?

from ha-dual-smart-thermostat.

jkrasinger avatar jkrasinger commented on August 17, 2024

@mbrevda : As i can see in your yaml definition above, you must also specify the "temperature", not only "target_temp_low" and "target_temp_high", then it will work.

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

even in heat_cool mode? What would temperature be in that case?

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024

v0.9.5-beta.1 is out

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

v0.9.5-beta.1 is out

Thank you - it does not seem to have resolved the issue, though:

Screenshot 2024-03-19 at 9 30 38 AM

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024

The only potential problem that I can see at this point is that the target_temp_high is higher than the max_temp

But I will take your config tomorrow and see. The supported_features: 129 seems to indicate that preset modes are not supported.

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024

Please check v0.9.5-beta.3

I managed to reproduce and fix the issue. I also added a test to cover it.

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

I appreciate the efforts, but afraid the presets still aren't registering...

Screenshot 2024-03-27 at 8 41 55 AM

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024

Can you confirm that you use the same configuration that you used earlier?

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

Exactly the same

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024

Mirroring your confirmation, I can't reproduce the issue.
There may be some old state that was misconfigured and gets applied back.

Could you create a duplicate of boys room config with a different name and see?

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

Apologies for the long response time.

So yeah, this is weird. Merely changing the name allows the presets to be loaded on the device, but changing the name back removes them. What gives?

from ha-dual-smart-thermostat.

swingerman avatar swingerman commented on August 17, 2024

Some saved state, probably saved with a buggy version, is being restored. Introducing a new name uses a new state and saved state.
Using the new name is the way to go forward.

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

is there a way to remove said state?

from ha-dual-smart-thermostat.

mbrevda avatar mbrevda commented on August 17, 2024

Got it... finally!
I needed to stop ha (from the cli, via ssh) and remove the entity from .storage/core.restore_state. Then recreated the device and it's finally showing the preset states. Thanks for your help and patience in working though this!

from ha-dual-smart-thermostat.

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.