Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update status codes and #28

Merged
merged 3 commits into from
Oct 28, 2020
Merged

Conversation

Hellowlol
Copy link
Collaborator

@Hellowlol Hellowlol commented Oct 18, 2020

add status with the status string, raw access to chargerOpmode is now possible.

This will be a breaking change but i think the status codes are better, especially with the updated reason for no current as you get more info about that is happening.

I also wanted to not overwrite the chargerOpmode so this is still a int and status is the string.

add status with the status string, raw access to chargerOpmode is now possible.
@fondberg
Copy link
Contributor

I think it looks good! Do you want to join us in the discord channel where we have a lot of activity? We are 4 main devs atm but are always looking for more

@Hellowlol
Copy link
Collaborator Author

Sure

@fondberg
Copy link
Contributor

Here the channel https://discord.gg/3e6zxR

@fondberg
Copy link
Contributor

Lets make them lowercase and then merge this and right after create a PR to easee_hass which bumps the major version and shows it is a breaking change.

@astrandb
Copy link
Collaborator

astrandb commented Oct 25, 2020

I haven't been diving into details in the code here so perhaps it is already taken care of, but please make sure that new, unknown integer codes are handled properly, e.g. mapped to "unknown_status_##".

astrandb added a commit that referenced this pull request Oct 27, 2020
@fondberg fondberg merged commit f17d111 into nordicopen:master Oct 28, 2020
@Hellowlol Hellowlol deleted the more-status branch October 31, 2020 09:55
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.

3 participants