mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Update HAP-python to 2.4.0 (#18355)
This commit is contained in:
parent
8bd281d5a3
commit
132bb7902a
@ -29,7 +29,7 @@ from .const import (
|
|||||||
from .util import (
|
from .util import (
|
||||||
show_setup_message, validate_entity_config, validate_media_player_features)
|
show_setup_message, validate_entity_config, validate_media_player_features)
|
||||||
|
|
||||||
REQUIREMENTS = ['HAP-python==2.2.2']
|
REQUIREMENTS = ['HAP-python==2.4.0']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from pyhap.const import (
|
from pyhap.const import (
|
||||||
CATEGORY_OUTLET, CATEGORY_SWITCH)
|
CATEGORY_FAUCET, CATEGORY_OUTLET, CATEGORY_SHOWER_HEAD,
|
||||||
|
CATEGORY_SPRINKLER, CATEGORY_SWITCH)
|
||||||
|
|
||||||
from homeassistant.components.script import ATTR_CAN_CANCEL
|
from homeassistant.components.script import ATTR_CAN_CANCEL
|
||||||
from homeassistant.components.switch import DOMAIN
|
from homeassistant.components.switch import DOMAIN
|
||||||
@ -20,10 +21,6 @@ from .const import (
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
CATEGORY_SPRINKLER = 28
|
|
||||||
CATEGORY_FAUCET = 29
|
|
||||||
CATEGORY_SHOWER_HEAD = 30
|
|
||||||
|
|
||||||
VALVE_TYPE = {
|
VALVE_TYPE = {
|
||||||
TYPE_FAUCET: (CATEGORY_FAUCET, 3),
|
TYPE_FAUCET: (CATEGORY_FAUCET, 3),
|
||||||
TYPE_SHOWER: (CATEGORY_SHOWER_HEAD, 2),
|
TYPE_SHOWER: (CATEGORY_SHOWER_HEAD, 2),
|
||||||
|
@ -32,7 +32,7 @@ Adafruit-SHT31==1.0.2
|
|||||||
# Adafruit_BBIO==1.0.0
|
# Adafruit_BBIO==1.0.0
|
||||||
|
|
||||||
# homeassistant.components.homekit
|
# homeassistant.components.homekit
|
||||||
HAP-python==2.2.2
|
HAP-python==2.4.0
|
||||||
|
|
||||||
# homeassistant.components.notify.mastodon
|
# homeassistant.components.notify.mastodon
|
||||||
Mastodon.py==1.3.1
|
Mastodon.py==1.3.1
|
||||||
|
@ -19,7 +19,7 @@ requests_mock==1.5.2
|
|||||||
|
|
||||||
|
|
||||||
# homeassistant.components.homekit
|
# homeassistant.components.homekit
|
||||||
HAP-python==2.2.2
|
HAP-python==2.4.0
|
||||||
|
|
||||||
# homeassistant.components.sensor.rmvtransport
|
# homeassistant.components.sensor.rmvtransport
|
||||||
PyRMVtransport==0.1.3
|
PyRMVtransport==0.1.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user