RenierM26 / hass_ids_hyyp

Home Assistant integration for IDS Hyyp (Beta)
GNU General Public License v3.0
4 stars 5 forks source link

Config flow could not be loaded: {"message":"Invalid handler specified"} #10

Open HalmarV opened 1 year ago

HalmarV commented 1 year ago

HA ver. 2023.5.3
IDS X64, extented zones, two partition.

Config flow could not be loaded: {"message":"Invalid handler specified"} error as soon as integration is added, never get to request account/user/alarm details.

Logger: homeassistant.config_entries Source: config_entries.py:863 First occurred: May 22, 2023 at 11:15:02 PM (6 occurrences) Last logged: 9:17:34 PM

Error occurred loading flow for integration ids_hyyp: Exception importing custom_components.ids_hyyp.config_flow

This error originated from a custom integration.

Logger: homeassistant.loader Source: custom_components/ids_hyyp/init.py:6 Integration: IDS Hyyp(Beta) First occurred: May 22, 2023 at 11:15:02 PM (6 occurrences) Last logged: 9:17:34 PM

Unexpected exception importing platform custom_components.ids_hyyp.config_flow Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform cache[full_name] = self._import_platform(platform_name) File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/config/custom_components/ids_hyyp/init.py", line 6, in from pyhyypapi import HyypClient File "/usr/local/lib/python3.10/site-packages/pyhyypapi/init.py", line 6, in from .push_receiver import run_example File "/usr/local/lib/python3.10/site-packages/pyhyypapi/push_receiver.py", line 25, in from .android_checkin_pb2 import AndroidCheckinProto, ChromeBuildProto File "/usr/local/lib/python3.10/site-packages/pyhyypapi/android_checkin_pb2.py", line 36, in _descriptor.EnumValueDescriptor( File "/usr/local/lib/python3.10/site-packages/google/protobuf/descriptor.py", line 796, in new _message.Message._CheckCalledFromGeneratedFile() TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Thanks - please let me know if I can assist with testing, happy to help where I can, would like to get this working.

hawky358 commented 1 year ago

@HalmarV

Hello there, From activity it seems like the dev is on hiatus or quit.

I have forked the repo and fixed this specific issue. See https://github.com/hawky358/hass_ids_hyyp

HalmarV commented 1 year ago

Hi Hawky,

Thanks for responding, this is great news, I'll have a look...

Much appreciated, let me know how I can help to test.

(IDS X64 with expanded zones, 2 partitions.)

Best regards, Halmar.

On Fri, 26 May 2023 at 21:49, hawky358 @.***> wrote:

@HalmarV https://github.com/HalmarV

Hello there, From activity it seems like the dev is on hiatus or quit.

I have forked the repo and fixed this specific issue. See https://github.com/hawky358/hass_ids_hyyp

— Reply to this email directly, view it on GitHub https://github.com/RenierM26/hass_ids_hyyp/issues/10#issuecomment-1564854661, or unsubscribe https://github.com/notifications/unsubscribe-auth/A773CIGCKZZ5RDQGPUVR6U3XIECMXANCNFSM6AAAAAAYMKWNM4 . You are receiving this because you were mentioned.Message ID: @.***>

-- Halmar Vockins (B.Eng)

Cell: 082 563 0917 Email: @.***

HalmarV commented 1 year ago

Thanks for your fork Hawky, it has solved my issue and is working! Much appreciated!

On Sat, 27 May 2023 at 09:18, Halmar Vockins @.***> wrote:

Hi Hawky,

Thanks for responding, this is great news, I'll have a look...

Much appreciated, let me know how I can help to test.

(IDS X64 with expanded zones, 2 partitions.)

Best regards, Halmar.

On Fri, 26 May 2023 at 21:49, hawky358 @.***> wrote:

@HalmarV https://github.com/HalmarV

Hello there, From activity it seems like the dev is on hiatus or quit.

I have forked the repo and fixed this specific issue. See https://github.com/hawky358/hass_ids_hyyp

— Reply to this email directly, view it on GitHub https://github.com/RenierM26/hass_ids_hyyp/issues/10#issuecomment-1564854661, or unsubscribe https://github.com/notifications/unsubscribe-auth/A773CIGCKZZ5RDQGPUVR6U3XIECMXANCNFSM6AAAAAAYMKWNM4 . You are receiving this because you were mentioned.Message ID: @.***>

-- Halmar Vockins (B.Eng)

Cell: 082 563 0917 Email: @.***

-- Halmar Vockins (B.Eng)

Cell: 082 563 0917 Email: @.***

Owewolf commented 1 year ago

Thanks Hawky, I’m back to where I was still not running for me: , I have two separate sites both with one partition and a stay profile programmed I’m unable to get the integration going

hawky358 commented 1 year ago

@Owewolf Would you mind logging it as an issue on my fork so we can continue the conversation there? Let's see if I can get it going for you. I don't have access to a 2 site setup, but let's move the discussion first.

https://github.com/hawky358/hass_ids_hyyp/issues