Add Satel_integra switchable outputs and multiple partitions#21992
Add Satel_integra switchable outputs and multiple partitions#21992MartinHjelmare merged 13 commits intohome-assistant:devfrom c-soft:satel_integra-switchable-outputs-zones
Conversation
amelchio
left a comment
There was a problem hiding this comment.
This looks very good 👍. Just a couple of questions ...
|
Thanks for the review, Im on my vacation till next week, will fix it then. |
|
There is a merge conflict. |
Fixed, everything should be fine now. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
We have removed this. Please remove it. It's now enough to define the requirements in the manifest.json file and run the scripts to validate the manifest.
There was a problem hiding this comment.
Done - this was a merge error on my behalf.
There was a problem hiding this comment.
Please break the line after the first parenthesis. That's the best way of formatting line breaks.
await self._satel.arm(
code, [self._partition_id], self._arm_home_mode)There was a problem hiding this comment.
Please remove one blank line.
There was a problem hiding this comment.
We don't end logging messages with period.
Codecov Report
@@ Coverage Diff @@
## dev #21992 +/- ##
==========================================
+ Coverage 93.93% 93.94% +<.01%
==========================================
Files 451 451
Lines 36759 36758 -1
==========================================
Hits 34531 34531
+ Misses 2228 2227 -1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## dev #21992 +/- ##
==========================================
+ Coverage 93.93% 93.94% +<.01%
==========================================
Files 451 451
Lines 36759 36759
==========================================
+ Hits 34531 34532 +1
+ Misses 2228 2227 -1
Continue to review full report at Codecov.
|
Description:
Added multiple partitions support as well as editable outputs, so one can use Satel outputs as switches. Additionally improved reporting of arming and disarming states of the alarm.
Breaking change:
The component now supports multiple partitions and this forced change in config: instead of single parameters
partitionandsingle_home_modethere is now sectionpartitions:. If your config so far was:... change it to:
... and your config will be OK again after upgrade.
Related issue (if applicable): fixes #21589, fixes #19796, fixes #19361.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8922
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.If the code does not interact with devices: