Comments (13)
from alarmdotcom.
I updated the py file and then restarted HA and it worked right away
the only line I needed to add was
_attr_code_arm_required = False
for me to match spacing of the example
it was on line 71
from alarmdotcom.
I can confirm this is an issue for me, as well. Suddenly all of my security routines began erroring out and it took me all day to figure out why they weren't working.
Going to try the fix mentioned for now.
from alarmdotcom.
Seeing the same here. Can't manually arm from the dashboard now either, but can disarm from the dashboard fine. Seems to be related to home-assistant/core#118668 as bumpaneer mentioned.
from alarmdotcom.
I'm on the same boat, thanks for reporting it @bumpaneer
a couple of silly questions to be able to leverage your workaround:
- Once you changed the file to add the code, how did you make HA take the update? Was reloading the integration sufficient? Or what else do you need to do so that HA actually takes the change?
- Which specific file did you change? was it the file under
config/custom_components/alarmdotcom
or somewhere else?
from alarmdotcom.
I updated the py file and then restarted HA and it worked right away
the only line I needed to add was
_attr_code_arm_required = False
for me to match spacing of the example it was on line 71
Thanks! Working for me too now. I didn't know it was required to start all of HA to reload integration, TIL.
from alarmdotcom.
Is adding _attr_code_arm_required = False
the ideal fix for this? If so we should get a PR submitted with that change.
from alarmdotcom.
I'm having the same issue. getting this fix published would be appreciated
from alarmdotcom.
This is a new requirement introduced by the update 2024.6. Thank you very much @thomasshawn! You just need to add the line where he mention and reboot HA and everything is working as before again!
from alarmdotcom.
PR submitted for this, the package maintainer will need to approve it and cut the new release: #413
from alarmdotcom.
Which py file do we need to add the code part? I haven't found a relevant line 71 spot so far in any of them.
from alarmdotcom.
from alarmdotcom.
Which py file do we need to add the code part? I haven't found a relevant line 71 spot so far in any of them.
You need to edit alarm_control_panel.py and find line number 65 which should be...
class AlarmControlPanel(HardwareBaseDevice, AlarmControlPanelEntity): # type: ignore
Then find this line under that...
_device: libPartition
Then add this after it...
_attr_code_arm_required = False
So that the whole thing looks like...
class AlarmControlPanel(HardwareBaseDevice, AlarmControlPanelEntity): # type: ignore
"""Alarm.com Alarm Control Panel entity."""
device_type_name: str = "Alarm Control Panel"
_device: libPartition
_attr_code_arm_required = False
If you installed it via HACS the files for the package will be in your home assistant config directory in a directory called custom_components/alarmdotcom. Once that edit is made, restart home assistant.
from alarmdotcom.
Related Issues (20)
- Forced Migration to Service Provider Website HOT 10
- Failed to load HOT 1
- scenes? HOT 2
- Use of TEMP_CELSIUS and TEMP_FAHRENHEIT deprecated in HA Core 2025.1 HOT 1
- v3.0.12 release notes have incorrect credit HOT 1
- context - user_id is null
- Failed to call service update / install. Empty filename HOT 2
- Unable to install via HACS HOT 3
- Reloading integration every couple days HOT 3
- Status "bouncing" on sensors HOT 8
- Change login user/password HOT 2
- Camera Feed Help HOT 6
- Integration no longer has real time updates HOT 20
- Door/Window Chime Toggle HOT 4
- Unexpected WebSocket error HOT 1
- Deprecated Climate Auxiliary Heater HOT 1
- Deprecated Magic Numbers
- Unexpected Websocket Error HOT 1
- Battery state suddenly missing HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alarmdotcom.