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

some refactoring and change #1297 #1298

Merged
merged 8 commits into from
Sep 19, 2023
Merged

some refactoring and change #1297 #1298

merged 8 commits into from
Sep 19, 2023

Conversation

proddy
Copy link
Contributor

@proddy proddy commented Sep 17, 2023

In the C++ code we were using class and object names like 'customEntity' in the Customizations logic, which was getting confused with the new Custom Entity feature. So I renamed the classes, objects, descriptors so you can tell if its Customization or CustomEntity piece of code.

@proddy
Copy link
Contributor Author

proddy commented Sep 17, 2023

haven't really tested this though, will do that next. Wanted to get the PR in first as is touches a lot of files.

Copy link
Contributor

@MichaelDvP MichaelDvP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's to much to read/check every change, i just merged and checked on a esp. Looks ok.
The "no entries" message should also go to scheduler, temperaturesensor and analogsensor. I have this in my dev2-test, so we can add later with the power entities.
Only the analogsensor have a enable setting (is this usefull?), so it should give error message if disabled and "no entries" if enabled.

@proddy
Copy link
Contributor Author

proddy commented Sep 19, 2023

good catch, I forgot about the scheduler, temperaturesensor and analogsensor and it should have consistent behaviour. I'll merge now so you can continue with your updates.

@proddy proddy merged commit af935d8 into emsesp:dev Sep 19, 2023
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