Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Move management points out of the DAIKIN_CMD_SETS #86

Closed
jwillemsen opened this issue Feb 20, 2023 · 3 comments
Closed

Move management points out of the DAIKIN_CMD_SETS #86

jwillemsen opened this issue Feb 20, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@jwillemsen
Copy link
Collaborator

The code currently uses DAIKIN_CMD_SETS to define the possible command sets, but the fact that the management point (climateControlMainZone/gateway/domesticHotWaterTank) is cmd[0] results in a lot of code duplication, would be much easier overal when the getData/getValue calls pass the management point as first argument, that way for a lot of status flags we don't need accessors, now a lot of code is duplicated for the climate and for the hot water tank

@jwillemsen
Copy link
Collaborator Author

At the same moment we should rename the internal name of each entity to include the name of the management point, that way we can have for example a status flag for the climate and tank with the same field (fe error_code)

@jwillemsen
Copy link
Collaborator Author

#186 does update this for the water heater

@jwillemsen
Copy link
Collaborator Author

jwillemsen commented Dec 20, 2023

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant