Makes alarm_control_panels more flexible on Android auto#6374
Makes alarm_control_panels more flexible on Android auto#6374poupounetjoyeux wants to merge 7 commits intohome-assistant:mainfrom
Conversation
If alarm has code but not required for arming allows arming alarm Keep the logic for disarming regarding the has code Move the logic inside Entity.kt
There was a problem hiding this comment.
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
Please sign the CLA to proceed. At a quick glance your check in |
|
Hello @jpelgrom, |
b739402 to
78a971f
Compare
Move methods to an util class to make them simpler to test Fix reversed condition in alarmCanBeArmedWithoutCode()
|
Hello! The change is now ready and tested |
Add some methods for more reliability
|
I'm going to mark this as draft, please click on 'Ready for review' once you've addressed the comments. |
Add private functions visibility modifiier Check alarm domain everywhere Import assertions in unit tests
Yes sorry didn't have time last week, just done it Thank for your time, I'm new to Kotlin so don't have all subtilities 😅 |
Make constant internal visible for tests only Move the alarm control panel domain to IntegrationDomains Fix log typo
Summary
If alarm has code but not required for arming allows arming alarm (arm_away)
Impact only Android Auto part of the application
Checklist