ADT Pulse integration

Upgraded to HA 2024.04 and integration fails to start. Is anyone else experiencing this? I can create an issue if that is correct thing to do.

Logger: homeassistant.setup
Source: setup.py:316
First occurred: 9:22:52 AM (1 occurrences)
Last logged: 9:22:52 AM

Setup failed for custom integration 'adtpulse': Unable to import component: cannot import name 'FlowResult' from 'homeassistant.helpers.config_entry_flow' (/usr/src/homeassistant/homeassistant/helpers/config_entry_flow.py)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 979, in async_get_component
    comp = await self.hass.async_add_import_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1037, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/adtpulse/__init__.py", line 22, in <module>
    from homeassistant.helpers.config_entry_flow import FlowResult
ImportError: cannot import name 'FlowResult' from 'homeassistant.helpers.config_entry_flow' (/usr/src/homeassistant/homeassistant/helpers/config_entry_flow.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 316, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 997, in async_get_component
    self._component_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 989, in async_get_component
    comp = self._get_component()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1037, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/adtpulse/__init__.py", line 22, in <module>
    from homeassistant.helpers.config_entry_flow import FlowResult
ImportError: cannot import name 'FlowResult' from 'homeassistant.helpers.config_entry_flow' (/usr/src/homeassistant/homeassistant/helpers/config_entry_flow.py)

Since the latest update, the ADT integration keeps losing connection after a few hours/days. I have followed the installation to the letter and generated the correct key. Not sure why it is not staying connected.

Sorry, have been in the process of buying a new house. So haven’t really been as responsive of late.

This also means I will have to step away from being the maintainer, as the new house doesn’t have an ADT system (and even if it did, it wouldn’t be Pulse).

So, if anyone wants to take over the code, let me know.

In regards to the issues from @Wolfang42 and @pbearjar, I’ll take a look at it. I know there’s an issue when your internet connection drops, and I have a possible fix for that.

The failure to start at 2024.4 looks like it was fixed in 0.4.5

I’ve just release 0.4.6 which has arm night (I didn’t even know you could do that), and some reconnection fixes.

Do you have your own repository or is this considered still ā€œNot supportedā€ by the developer RSNodgrass?

I’ve merged all my changes into Ryan’s repo. Both on the pyadtpulse side and the HA side. It should be the repo where all changes are made from now on.

Hey i recently setted up this integration but i keep on getting this error even though there are no opened or tripped zones in my house. I can’t used arm away or arm home but i can disarm. this is the error im getting: Failed to call service alarm_control_panel/alarm_arm_home. Pulse system cannot be armed due to opened/tripped zone - use force arm

New to ADT and for some reason, no matter what, I keep getting fail auth each time. I have my account registered at MyADT, but I keep it wont even email me what my username suppose to be. From what I could read, apparently the are completely transitioning from Pulse to Control. Which I have Control. Im thinking that I wont even be granted access at this point. I just got my account in Sep. Can anyone confirm the same? Thanks.

Is it still possible to install this ADT Pulse integration? I’ve only just discovered it but am receiving an Error 500 when I attempt to install it after adding the HACS repository. Thanks.

1 Like

Was wondering if this has been ported to use the new python version in HA 2024.12?

2 Likes

This integration is no longer maintained by me, since I no longer have ADT.

Either someone else needs to take over maintenance, or you should switch to the Homebridge implementation which is still actively maintained.

2 Likes

Error

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Logs Unable to install package pyadtpulse>=1.2.9: Ɨ No solution found when resolving dependencies: ╰─▶ Because uvloop==0.19.0 has no wheels with a matching Python ABI tag and only the following versions of uvloop are available: uvloop<=0.19.0 uvloop>0.20.0 we can conclude that uvloop>=0.19.0,<0.20.0 cannot be used. And because pyadtpulse==1.2.9 depends on uvloop>=0.19.0,<0.20.0, we can conclude that pyadtpulse==1.2.9 cannot be used. And because only pyadtpulse<=1.2.9 is available and you require pyadtpulse>=1.2.9, we can conclude that your requirements are unsatisfiable.

Anyway to use this? I was using it up until about a week or so ago.

I ended up switching back to this ADT mqtt HASS add-on, since I couldn’t find any info on the Homebridge integration:

I can confirm it works with HASS Updated to the latest version. its a little harder to setup but once done seems to be working well.

1 Like

looks like someone did some updates and might not have bumped the version correctly.

I have been getting this error since December when I did the update to HS. I have been looking for a solution.

Logger: homeassistant.util.package
Source: util/package.py:159
First occurred: 11:49:01 AM (3 occurrences)
Last logged: 11:49:06 AM

Unable to install package pyadtpulse>=1.2.9: Ɨ No solution found when resolving dependencies: ╰─▶ Because uvloop==0.19.0 has no wheels with a matching Python ABI tag and only the following versions of uvloop are available: uvloop<=0.19.0 uvloop>0.20.0 we can conclude that uvloop>=0.19.0,<0.20.0 cannot be used. And because pyadtpulse==1.2.9 depends on uvloop>=0.19.0,<0.20.0, we can conclude that pyadtpulse==1.2.9 cannot be used. And because only pyadtpulse<=1.2.9 is available and you require pyadtpulse>=1.2.9, we can conclude that your requirements are unsatisfiable.

I’m a new HA user and I’m trying to install this Integration. I added HACS , restarted, went to Add Integration and started the wizrard. I immediately get this error:

Error

Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Were you able to get this to work? I’m getting the same error.

Same. I’m hoping that it will begin working again soon.

I believe I’ve figured out what was going wrong here. We need a new release of pyadtpulse package with dependencies updated for Python 3.13 - I’ve opened a PR for that here: Bump version to 1.2.11 by HeroesDieYoung Ā· Pull Request #41 Ā· rsnodgrass/pyadtpulse Ā· GitHub

Once that is merged and the new version of the package is published we’ll need to update the manifest to declare the new version - PR for that here: Compatibility for HA 2025 by HeroesDieYoung Ā· Pull Request #55 Ā· rsnodgrass/hass-adtpulse Ā· GitHub

If the repo maintainer picks up these PRs we should all get an update we can apply. If not, I’ll figure out what it would take to publish packages myself at some point.

2 Likes

Hey all, I’ve submitted a few PRs and have been added as a maintainer on the project. I’ll be monitoring the issues @ GitHub - homeassistant-projects/hass-adtpulse: ADT Pulse sensor for Home Assistant so please open issues there as I’ll receive notifications that way!