Comments (21)
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.
Wait with this @mbrevda.
I am currently working on this.
I plan to release a beta today or tomorrow.
from ha-dual-smart-thermostat.
bump - anything I can do to move this forward?
from ha-dual-smart-thermostat.
preset_modes
are the available preset modes - based on your configuration.preset_mode
is the currently selected preset mode
from ha-dual-smart-thermostat.
I see
But why are some entites missing the preset_modes altogether?
from ha-dual-smart-thermostat.
@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.
Yes, I have - see yaml above
from ha-dual-smart-thermostat.
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.
This will fix your problem.
I don't think it did?
![Screenshot 2024-03-17 at 12 26 02 PM](https://private-user-images.githubusercontent.com/293004/313463663-2f9dfcd8-845d-4b9a-a463-5b14dd7b3017.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYxMDI5NzcsIm5iZiI6MTcxNjEwMjY3NywicGF0aCI6Ii8yOTMwMDQvMzEzNDYzNjYzLTJmOWRmY2Q4LTg0NWQtNGI5YS1hNDYzLTViMTRkZDdiMzAxNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUxOVQwNzExMTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00NGI1N2U3MjkwY2Y5ZmRhMDI4OGNmNzZhMDQ0NDUyMzRhZTUxNTEwNDY1NDk5NmNkYjhjNTliY2MwN2NmOTExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.KzC3d0OyMhR_omlH_M57LuNBCwADvuHRVcP5-BQsQpw)
from ha-dual-smart-thermostat.
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.
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.
@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.
even in heat_cool mode? What would temperature be in that case?
from ha-dual-smart-thermostat.
v0.9.5-beta.1 is out
from ha-dual-smart-thermostat.
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](https://private-user-images.githubusercontent.com/293004/313963835-bd512257-f0f0-4679-8738-3cd4af382c8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYxMDI5NzcsIm5iZiI6MTcxNjEwMjY3NywicGF0aCI6Ii8yOTMwMDQvMzEzOTYzODM1LWJkNTEyMjU3LWYwZjAtNDY3OS04NzM4LTNjZDRhZjM4MmM4ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUxOVQwNzExMTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNGUyMGQ5OWE1NjNjOTI0YzZiNjZmOTgxZDk4NGEzNGMwMDM0OWIzZGExMGRlMGQ4MWM4NDA2NzAzZGFmZmI0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.NHk37RYzQpn6LHaVTArRWGn2HOWQwtyPOLdrp4OhrLc)
from ha-dual-smart-thermostat.
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.
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.
I appreciate the efforts, but afraid the presets still aren't registering...
![Screenshot 2024-03-27 at 8 41 55 AM](https://private-user-images.githubusercontent.com/293004/317158088-ca8b3ad6-2ae8-4353-ba5a-f9127c940435.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYxMDI5NzcsIm5iZiI6MTcxNjEwMjY3NywicGF0aCI6Ii8yOTMwMDQvMzE3MTU4MDg4LWNhOGIzYWQ2LTJhZTgtNDM1My1iYTVhLWY5MTI3Yzk0MDQzNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUxOVQwNzExMTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYjEwZjBlYTFlNzI1NTI2M2U5ODBlYjc5YWMzNDE1NWYyYTRjMmY0ZGFiMzc4ZDIyM2NjZDFmZGFjODFkODgyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.E5lVX-GQieRjRpQjNRJBZPvxpGqR3_-bvODk7E2Een4)
from ha-dual-smart-thermostat.
Can you confirm that you use the same configuration that you used earlier?
from ha-dual-smart-thermostat.
Exactly the same
from ha-dual-smart-thermostat.
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.
Related Issues (20)
- [feat] restore last used HVAC mode on toggle HOT 9
- [feat] enable other climate options HOT 4
- chore: update home assistant version
- [feat] option to run fan after AC turned off to prevent mould build up
- Thermostat no longer turns on to heat/cool mode HOT 11
- [feat] Safety disable if sensor unavailable HOT 18
- Reload Config Temeprature HOT 4
- Not all preset modes available HOT 1
- [feat] validate preset modes by target temperatures Failed to call service climate/set_preset_mode... HOT 2
- Ccurrently the heat/cool fuction is not working with the fan-mode HOT 4
- EventType and StrEnum was deprecated ....in HA Core 20255. HOT 1
- "latest beta" unable to set hvac mode after selecting preset HOT 5
- Fan hot tolerance issue HOT 13
- [Bug?] Set temps don't restore on HA boot if a preset is set when HA restarts HOT 5
- [Request] Set temperature value based on target_temp_* values when switching HVAC_Mode while Preset is set HOT 3
- Invalid HVAC mode: None HOT 8
- can tolerance values be linked to input_number? HOT 1
- run blower fan for circulation HOT 6
- Feature Request: Enable/disable fan_hot_tolerance based on outside air temperature HOT 3
- Fan speed HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-dual-smart-thermostat.