Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
add docs
remove issue as it does not work for custom components
  • Loading branch information
PeteRager committed Jun 5, 2024
1 parent a10e8b3 commit aca2d08
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 18 deletions.
12 changes: 1 addition & 11 deletions custom_components/lennoxs30/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,18 +605,8 @@ def is_aux_heat(self) -> bool | None:
return res

def _create_aux_heat_issue(self, service: str):
async_create_issue(
self.hass,
DOMAIN,
service,
breaks_in_ha_version="2024.10.0",
is_fixable=False,
severity=IssueSeverity.WARNING,
translation_key="deprecated_aux_heat",
learn_more_url="https://github.com/PeteRager/lennoxs30/blob/master/docs/aux_heat.md"
)
_LOGGER.warning(
"climate.%s is deprecated and will be removed in version 2024.10", service
"climate.%s is deprecated and will be removed in version 2024.10 learn more https://github.com/PeteRager/lennoxs30/blob/master/docs/aux_heat.md", service
)


Expand Down
6 changes: 0 additions & 6 deletions custom_components/lennoxs30/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,5 @@
"title": "Options"
}
}
},
"issues" : {
"deprecated_aux_heat": {
"title": "Climate Aux heat is being removed",
"description": "Please use the aux heat switch to turn on/off emergency heat."
}
}
}
2 changes: 1 addition & 1 deletion custom_components/lennoxs30/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@
"title": "Options"
}
}
}
}
}
25 changes: 25 additions & 0 deletions docs/aux_heat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Aux Heat

## Overview

Home Assistant has deprecated aux_heat and will remove it from the product in 2024.10.0

This integration will continue to support aux heat until 2024.10.0

If you are using aux heat you will need to migrate to use the new functionality before that date.

## Changes

A new select entity is created for each zone for systems that have aux heat. The name of the entity is **select.[system_name]_[zone_name]_hvac_mode()**

This select entity will have all the valid hvac_modes for your system including **emergency heat**. You can select emergency heat directly from the drop down or use the service call:

```yaml
service: select.select_option
target:
entity_id: select.ragehouse_zone_1_hvac_mode
data:
option: "emergency heat"
```
The climate entity hvac_mode will be heat when the lennox hvac_mode is heat or emergency heat. Changing the hvac_mode in the climate entity will cause the select to update.

0 comments on commit aca2d08

Please sign in to comment.