Climate Mode Filtering Now Available #69
Beormund
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Pull Request: #68
This update introduces flexible operation (cllimate) mode filtering and "smart memory" for power toggling. Whether you are using a simple on/off zone or a Heat Pump with Cooling capabilities, the component now adapts to your hardware.
✨ Key Features
Mode Filtering: You can now choose exactly which modes appear in the Home Assistant UI using the supported_modes option.
Mode Memory: If you turn the unit off, the component remembers if you were in Heat, Cool, or Dry mode. When you turn it back on, it restores that specific mode instead of defaulting to Heat.
External Sync: Changes made via physical Samsung remotes or other NASA registers (0x4001) will now reflect accurately in the Home Assistant Climate card.
Backwards Compatible: Existing configurations will continue to work as "Heat/Off" only by default.
Advanced users now have the ability to specify climate modes. This is done by specifying two additional fields. Firstly, you can explicitly link the climate component to the 0x4001 select component (operation/climate mode). The options available with 0x4001 are: "Heat", "Cool", "Auto", "Dry" and "Fan". Secondly, not all of these modes may be required so you can use the supported_modes field to show only the modes your specific indoor unit or zone uses (i.e., hiding the "Cool" mode).
Available options for supported_modes:
OFFCLIMATE_MODE_OFFHEATCLIMATE_MODE_HEAT"Heat"COOLCLIMATE_MODE_COOL"Cool"HEAT_COOLCLIMATE_MODE_HEAT_COOL"Auto"DRYCLIMATE_MODE_DRY"Dry"FAN_ONLYCLIMATE_MODE_FAN_ONLY"Fan"Logic Flow
In this scenario the climate component now manages the relationship between the Power Switch and the Mode Select register to ensure they never get out of sync.
Commanding: When you select "Cool" in Home Assistant, the component first ensures the NASA Power register is ON, then sends the "Cool" command to the NASA Mode register.
Memory: If the unit is turned off via the NASA framework, the ESPHome component "bookmarks" the current mode.
Restore: On a "Power On" command, it re-issues the bookmarked mode to the 0x4001 register, ensuring the unit doesn't default to an unwanted state (like Fan Only).
All reactions