Skip to content

Add activity temperature configuration entities#114

Open
temp-droid wants to merge 3 commits intomsvisser:mainfrom
temp-droid:feature/activities
Open

Add activity temperature configuration entities#114
temp-droid wants to merge 3 commits intomsvisser:mainfrom
temp-droid:feature/activities

Conversation

@temp-droid
Copy link

Expose heating activity temperatures (e.g. Home, Sleep, Evening, Work, Comfort) as number entities, allowing users to adjust schedule temperatures from Home Assistant and automations.

  • api.pyGET activities, PUT /climate-zones/{id}/activities/heating
  • coordinator.py — fetch and cache activities per climate zone
  • number.pyRemehaHomeActivityNumber with min/max/step from API
  • Uses NumberDeviceClass.TEMPERATURE and EntityCategory.CONFIG
  • Write sends all heating activities in one PUT (API requirement)

Add async_get_activities and async_set_heating_activities methods to
RemehaHomeAPI for reading activity definitions and updating heating
activity temperatures for a climate zone.
Fetch activity definitions once per climate zone on first update.
Data is cached and only re-fetched after a write operation invalidates
the cache. Add get_activities helper for entity access.
Add NumberEntity for each heating activity temperature per climate zone
(typically Home, Sleep, Evening, Work, Comfort). Values, min/max ranges,
and step sizes are read from the API response. All activity temperatures
are sent together in PUT requests as required by the API.

Register the number platform in __init__.py.
@Fossan
Copy link

Fossan commented Feb 11, 2026

Hey @temp-droid, awesome job with both PRs! I'd love to see them merged. @msvisser do you have time to review few PRs that have been created lately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants