Integration in custom_components not found

Hi, I am trying to get the Sector Alarm integration to work and have copied the files to the custom_components/sector folder under config (in the Synology Docker). After restarting the HA server and trying to add the integration, Sector is not found, and the log shows the error message below. Any idea what is wrong?

2021-11-18 09:15:37 ERROR (MainThread) [pyatv.support.mdns] exception during data handling

Traceback (most recent call last):

File “/usr/local/lib/python3.9/site-packages/pyatv/support/mdns.py”, line 303, in datagram_received

delegate.datagram_received(data, addr)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/mdns.py”, line 429, in datagram_received

decoded_msg = DnsMessage().unpack(data)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 385, in unpack

self.resources.extend(

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 386, in

DnsResource.unpack_read(buffer) for _ in range((header.arcount))

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 338, in unpack_read

qtype, qclass, ttl, rd_length = unpack_stream(">2HIH", buffer)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 22, in unpack_stream

return struct.unpack(fmt, buffer.read(size))

struct.error: unpack requires a buffer of 10 bytes

2021-11-18 09:15:37 ERROR (MainThread) [pyatv.support.mdns] exception during data handling

Traceback (most recent call last):

File “/usr/local/lib/python3.9/site-packages/pyatv/support/mdns.py”, line 303, in datagram_received

delegate.datagram_received(data, addr)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/mdns.py”, line 429, in datagram_received

decoded_msg = DnsMessage().unpack(data)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 385, in unpack

self.resources.extend(

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 386, in

DnsResource.unpack_read(buffer) for _ in range((header.arcount))

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 342, in unpack_read

rd = qtype.parse_rdata(buffer, rd_length)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 260, in parse_rdata

return parse_txt_dict(buffer, length)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 201, in parse_txt_dict

chunk = parse_string(buffer)

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 142, in parse_string

chunk_length = unpack_stream(">B", buffer)[0]

File “/usr/local/lib/python3.9/site-packages/pyatv/support/dns.py”, line 22, in unpack_stream

return struct.unpack(fmt, buffer.read(size))

struct.error: unpack requires a buffer of 1 bytes

2021-11-18 09:15:50 ERROR (MainThread) [frontend.js.latest.202108090] :0:0 Script error.