Comments (9)
@nielsfaber ,
sorry for the noise. I'm still new to the game and I forgot to look for available updates in HACS. I only checked in HA settings.
In fact, you supported me, and I'm really thankful you did.
So, sorry again and thank you!
from alarmo.
You should call the service "alarmo.disarm" from now on and not "alarm_control_panel.alarm_disarm"
from alarmo.
Hi Omrizn,
thanks for getting back on this!
How can I do this?
The control panel currently has this code for example:
states:
- arm_away
type: alarm-panel
entity: alarm_control_panel.erdgeschoss
Also, if I have a look on my entities, they are still called like before
Dachgeschoss alarm_control_panel.dachgeschoss
Erdgeschoss alarm_control_panel.erdgeschoss
Keller alarm_control_panel.keller
Haus alarm_control_panel.haus
So what do I have to change to use alarmo.disarm on my different zones?
Also, was this change in the release notes and I've overseen it?
Thank you again and cheers
from alarmo.
Please share a screenshot of the mode settings for the ‘erdgeschoss’ area in alarmo and a screenshot of the properties of the corresponding alarm_control_panel entity in the Developer Tools - states panel.
from alarmo.
Same problem here :
"No se pudo llamar al servicio alarm_control_panel/alarm_disarm. AlarmoBaseEntity.async_alarm_disarm() takes 1 positional argument but 2 were given"
from alarmo.
Hi Nils,
also thanks to you for supporting me here. Hopefully this is what you are looking for?
from alarmo.
@TheChosenOne1984
Abwesend / armed away is disabled so I think the error message you are receiving is correct. It seems there is no bug to discuss here.
from alarmo.
Hi @nielsfaber ,
I've put this to disabled this morning as I was not able to deactivate the alarm. I was hoping this would help and forgot to enable this again.
But even when I have this on enabled again, I still have trouble with disabling the alarm.
See my screenshot and the attached log.
2024-06-10 14:47:05.100 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140620861735120] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 959, in entity_service_call
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Entity alarm_control_panel.dachgeschoss does not support this service.
2024-06-10 14:48:26.727 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140620861735120] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/__init__.py", line 207, in async_handle_alarm_disarm
await self.async_alarm_disarm(self.code_or_default_code(code))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AlarmoBaseEntity.async_alarm_disarm() takes 1 positional argument but 2 were given
2024-06-10 14:48:41.528 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140620861735120] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/__init__.py", line 207, in async_handle_alarm_disarm
await self.async_alarm_disarm(self.code_or_default_code(code))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AlarmoBaseEntity.async_alarm_disarm() takes 1 positional argument but 2 were given
2024-06-10 14:51:39.889 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140620861735120] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/__init__.py", line 207, in async_handle_alarm_disarm
await self.async_alarm_disarm(self.code_or_default_code(code))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AlarmoBaseEntity.async_alarm_disarm() takes 1 positional argument but 2 were given
from alarmo.
@TheChosenOne1984 you can fix that issue yourself by updating alarmo. I don’t spend time on bug issues from users who use outdated versions.
from alarmo.
Related Issues (20)
- Alarm is not triggered when it should HOT 7
- Missing Alarm control panel after updating HOT 2
- Disable specific sensors temporary with Automation HOT 2
- custom notification by sensor type HOT 2
- Automation disarm HOT 2
- Warning in Home Assistant 2024.7 beta 2 logs about "hass.http.register_static_path" HOT 1
- Log an warning/error when: 'alarm doesn't get enabled due to open sensors'. HOT 2
- Actions take time to trigger vs. using automation with Home assistant triggers. HOT 3
- Alarmo-integration will not be loaded after update from Alarmo v1.10.3 to v1.10.4 HOT 20
- Migrate legacy notification to new format HOT 3
- Prevent Alarm Functionality from Being Blocked by Updates HOT 5
- single_instance_allowed HOT 4
- No Telegram notification in Alarmo - Bug or missing feature HOT 1
- Action cannot be executed (arm_away when arm_home and alarm goes triggered) HOT 3
- Errors after update - setup failed HOT 3
- Alarmo not being loaded after update to latest version HOT 1
- Alarm disarming itself immediately after arming HOT 4
- Refusing to start HOT 3
- Biometric disarm HOT 1
- Temporarily disable sensor(s) based on Home Assistant entity trigger HOT 1
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 alarmo.