Compare commits

...

17 Commits

Author SHA1 Message Date
epenet
21bbabc88e Merge branch 'dev' into block_pyserial_asyncio 2025-12-18 08:52:07 +01:00
epenet
e5a73fcf57 Disable blackbird integration (#157817) 2025-12-18 08:51:54 +01:00
Andre Lengwenus
6991e01489 Fix incorrect status updates for lcn (#159251) 2025-12-18 08:11:22 +01:00
Simone Chemelli
c8636ee6f3 Add missing strings for Shelly voltmeter sensor (#159332) 2025-12-18 08:05:46 +01:00
epenet
3a79fb273e Merge branch 'dev' into block_pyserial_asyncio 2025-10-16 12:08:06 +02:00
J. Nick Koston
162c27b92c Merge branch 'dev' into block_pyserial_asyncio 2025-05-26 10:40:34 -05:00
J. Nick Koston
e7e42dc318 Merge branch 'dev' into block_pyserial_asyncio 2024-08-16 17:48:47 -05:00
J. Nick Koston
9aa288ed44 Merge branch 'dev' into block_pyserial_asyncio 2024-06-22 16:36:10 -05:00
J. Nick Koston
5aacb6e1b8 Merge branch 'dev' into block_pyserial_asyncio 2024-06-22 15:18:40 -05:00
J. Nick Koston
1428ce4084 Merge branch 'dev' into block_pyserial_asyncio 2024-05-05 10:06:24 -05:00
J. Nick Koston
dba07ac90d Merge branch 'dev' into block_pyserial_asyncio 2024-05-03 02:12:40 -05:00
J. Nick Koston
264df97069 Merge branch 'dev' into block_pyserial_asyncio 2024-05-02 16:37:09 -05:00
J. Nick Koston
c3f493394a Merge branch 'drop_pyserial_zha' into block_pyserial_asyncio 2024-05-02 11:10:42 -05:00
J. Nick Koston
7e3e82746f Drop pyserial-asyncio from zha
This may not be possible yet, but the long term goal is to get
rid of pyserial-asyncio everywhere so we can prevent future
integrations from using it and than we have to go though the
effort of getting them to replace it with pyserial-asyncio-fast
to avoid the event loop being blocked

needed for https://github.com/home-assistant/core/pull/116635
2024-05-02 11:09:43 -05:00
J. Nick Koston
33724240d7 Merge branch 'serial' into block_pyserial_asyncio 2024-05-02 11:06:25 -05:00
J. Nick Koston
998a4eab9e Replace pyserial-asyncio with pyserial-asyncio-fast in serial
pyserial-asyncio is unmantained and does blocking I/O in the event loop
2024-05-02 11:04:45 -05:00
J. Nick Koston
9985262a53 Block pyserial-asyncio in favor of pyserial-asyncio-fast
pyserial-asyncio does blocking I/O in asyncio loop and is not maintained
2024-05-02 11:00:12 -05:00
14 changed files with 28 additions and 16 deletions

View File

@@ -2,6 +2,7 @@
"domain": "blackbird", "domain": "blackbird",
"name": "Monoprice Blackbird Matrix Switch", "name": "Monoprice Blackbird Matrix Switch",
"codeowners": [], "codeowners": [],
"disabled": "This integration is disabled because it references pyserial-asyncio, which does blocking I/O in the asyncio loop and is not maintained.",
"documentation": "https://www.home-assistant.io/integrations/blackbird", "documentation": "https://www.home-assistant.io/integrations/blackbird",
"iot_class": "local_polling", "iot_class": "local_polling",
"loggers": ["pyblackbird"], "loggers": ["pyblackbird"],

View File

@@ -19,8 +19,8 @@ from .const import CONF_DOMAIN_DATA
from .entity import LcnEntity from .entity import LcnEntity
from .helpers import InputType, LcnConfigEntry from .helpers import InputType, LcnConfigEntry
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
SCAN_INTERVAL = timedelta(minutes=1) SCAN_INTERVAL = timedelta(minutes=10)
def add_lcn_entities( def add_lcn_entities(

View File

@@ -36,7 +36,7 @@ from .const import (
from .entity import LcnEntity from .entity import LcnEntity
from .helpers import InputType, LcnConfigEntry from .helpers import InputType, LcnConfigEntry
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
SCAN_INTERVAL = timedelta(minutes=1) SCAN_INTERVAL = timedelta(minutes=1)

View File

@@ -27,7 +27,7 @@ from .const import (
from .entity import LcnEntity from .entity import LcnEntity
from .helpers import InputType, LcnConfigEntry from .helpers import InputType, LcnConfigEntry
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
SCAN_INTERVAL = timedelta(minutes=1) SCAN_INTERVAL = timedelta(minutes=1)

View File

@@ -33,8 +33,8 @@ from .helpers import InputType, LcnConfigEntry
BRIGHTNESS_SCALE = (1, 100) BRIGHTNESS_SCALE = (1, 100)
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
SCAN_INTERVAL = timedelta(minutes=1) SCAN_INTERVAL = timedelta(minutes=10)
def add_lcn_entities( def add_lcn_entities(

View File

@@ -22,7 +22,7 @@ from .const import (
from .entity import LcnEntity from .entity import LcnEntity
from .helpers import LcnConfigEntry from .helpers import LcnConfigEntry
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
def add_lcn_entities( def add_lcn_entities(

View File

@@ -40,7 +40,7 @@ from .const import (
from .entity import LcnEntity from .entity import LcnEntity
from .helpers import InputType, LcnConfigEntry from .helpers import InputType, LcnConfigEntry
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
SCAN_INTERVAL = timedelta(minutes=1) SCAN_INTERVAL = timedelta(minutes=1)

View File

@@ -17,8 +17,8 @@ from .const import CONF_DOMAIN_DATA, CONF_OUTPUT, OUTPUT_PORTS, RELAY_PORTS, SET
from .entity import LcnEntity from .entity import LcnEntity
from .helpers import InputType, LcnConfigEntry from .helpers import InputType, LcnConfigEntry
PARALLEL_UPDATES = 0 PARALLEL_UPDATES = 2
SCAN_INTERVAL = timedelta(minutes=1) SCAN_INTERVAL = timedelta(minutes=10)
def add_lcn_switch_entities( def add_lcn_switch_entities(

View File

@@ -537,6 +537,12 @@
"voltmeter_value": { "voltmeter_value": {
"name": "Voltmeter value" "name": "Voltmeter value"
}, },
"voltmeter_value_with_channel_name": {
"name": "Voltmeter value {channel_name}"
},
"voltmeter_with_channel_name": {
"name": "Voltmeter {channel_name}"
},
"water_consumption": { "water_consumption": {
"name": "Water consumption" "name": "Water consumption"
}, },

View File

@@ -190,6 +190,10 @@ scapy>=2.6.1
# https://github.com/theupdateframework/python-tuf/releases/tag/v4.0.0 # https://github.com/theupdateframework/python-tuf/releases/tag/v4.0.0
tuf>=4.0.0 tuf>=4.0.0
# pyserial-asyncio does blocking I/O in asyncio loop, use pyserial-asyncio-fast
# instead as pyserial-asyncio is not maintained
pyserial-asyncio==1000000000.0.0
# https://github.com/jd/tenacity/issues/471 # https://github.com/jd/tenacity/issues/471
tenacity!=8.4.0 tenacity!=8.4.0

3
requirements_all.txt generated
View File

@@ -1918,9 +1918,6 @@ pybalboa==1.1.3
# homeassistant.components.bbox # homeassistant.components.bbox
pybbox==0.0.5-alpha pybbox==0.0.5-alpha
# homeassistant.components.blackbird
pyblackbird==0.6
# homeassistant.components.bluesound # homeassistant.components.bluesound
pyblu==2.0.5 pyblu==2.0.5

View File

@@ -1637,9 +1637,6 @@ pyaussiebb==0.1.5
# homeassistant.components.balboa # homeassistant.components.balboa
pybalboa==1.1.3 pybalboa==1.1.3
# homeassistant.components.blackbird
pyblackbird==0.6
# homeassistant.components.bluesound # homeassistant.components.bluesound
pyblu==2.0.5 pyblu==2.0.5

View File

@@ -181,6 +181,10 @@ scapy>=2.6.1
# https://github.com/theupdateframework/python-tuf/releases/tag/v4.0.0 # https://github.com/theupdateframework/python-tuf/releases/tag/v4.0.0
tuf>=4.0.0 tuf>=4.0.0
# pyserial-asyncio does blocking I/O in asyncio loop, use pyserial-asyncio-fast
# instead as pyserial-asyncio is not maintained
pyserial-asyncio==1000000000.0.0
# https://github.com/jd/tenacity/issues/471 # https://github.com/jd/tenacity/issues/471
tenacity!=8.4.0 tenacity!=8.4.0

View File

@@ -0,0 +1,3 @@
"""Fixtures for component."""
collect_ignore_glob = ["test_*.py"]