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

feat: add an alias to the control panel and binary sensor entities #49

Merged
merged 29 commits into from
Sep 25, 2023
Merged

feat: add an alias to the control panel and binary sensor entities #49

merged 29 commits into from
Sep 25, 2023

Conversation

xtimmy86x
Copy link
Contributor

@xtimmy86x xtimmy86x commented Sep 21, 2023

Related Issues

Proposed Changes:

Add an option for naming the entities with an alias

Testing:

Extra Notes (optional):

Checklist

  • Related issues and proposed changes are filled
  • Tests are defining the correct and expected behavior
  • Code is well-documented via docstrings

@xtimmy86x xtimmy86x changed the title Xtimmy86x 1.1.0.dev2 feat 1.1.0.dev1 : add an alias to the control panel and binary sensor entities Sep 21, 2023
@palazzem palazzem self-requested a review September 25, 2023 10:21
Copy link
Owner

@palazzem palazzem left a comment

Choose a reason for hiding this comment

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

Great change as it enables users to have 2+ alarm systems in HA! We really need this feature to be merged! I'll try to help you the best I can.

One thing we should do also, is to add some testing for your change, so that we're sure this behavior will never break in the future!

custom_components/elmo_iess_alarm/const.py Outdated Show resolved Hide resolved
custom_components/elmo_iess_alarm/translations/it.json Outdated Show resolved Hide resolved
custom_components/elmo_iess_alarm/binary_sensor.py Outdated Show resolved Hide resolved
@palazzem palazzem added this to the 1.1.0 milestone Sep 25, 2023
@xtimmy86x xtimmy86x changed the base branch from palazzem/v1.1.0.dev1 to main September 25, 2023 13:01
@xtimmy86x xtimmy86x changed the title feat 1.1.0.dev1 : add an alias to the control panel and binary sensor entities feat: add an alias to the control panel and binary sensor entities Sep 25, 2023
Copy link
Owner

@palazzem palazzem left a comment

Choose a reason for hiding this comment

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

I think we're almost there! Just few changes and let's include tests for your new function!

custom_components/elmo_iess_alarm/binary_sensor.py Outdated Show resolved Hide resolved
custom_components/elmo_iess_alarm/helpers.py Outdated Show resolved Hide resolved
custom_components/elmo_iess_alarm/helpers.py Show resolved Hide resolved
custom_components/elmo_iess_alarm/binary_sensor.py Outdated Show resolved Hide resolved
Added option for naming the entities with an alias
Add an option for naming the entities with an alias
Add an option for naming the entities with an alias
Add an option for naming the entities with an alias
Add an option for naming the entities with an alias
Add an option for naming the entities with an alias
Add an option for naming the entities with an alias
@palazzem palazzem self-requested a review September 25, 2023 16:19
Copy link
Owner

@palazzem palazzem left a comment

Choose a reason for hiding this comment

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

This is a great change! Thank you very much for iterating over my suggestions!

@palazzem palazzem merged commit 9117840 into palazzem:main Sep 25, 2023
@palazzem palazzem deleted the xtimmy86x-1.1.0.dev2 branch September 25, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants