mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Repackage ZHA component (#19989)
* move files * rename files * rename files * move files * relative import * update coveragerc
This commit is contained in:
parent
7676b3fbe8
commit
ba21608042
@ -424,8 +424,13 @@ omit =
|
||||
homeassistant/components/*/zabbix.py
|
||||
|
||||
homeassistant/components/zha/__init__.py
|
||||
homeassistant/components/zha/binary_sensor.py
|
||||
homeassistant/components/zha/const.py
|
||||
homeassistant/components/zha/event.py
|
||||
homeassistant/components/zha/fan.py
|
||||
homeassistant/components/zha/light.py
|
||||
homeassistant/components/zha/sensor.py
|
||||
homeassistant/components/zha/switch.py
|
||||
homeassistant/components/zha/api.py
|
||||
homeassistant/components/zha/entities/*
|
||||
homeassistant/components/zha/helpers.py
|
||||
|
@ -102,7 +102,7 @@ def populate_data():
|
||||
"""
|
||||
from zigpy import zcl, quirks
|
||||
from zigpy.profiles import PROFILES, zha, zll
|
||||
from homeassistant.components.sensor import zha as sensor_zha
|
||||
from .sensor import RelativeHumiditySensor
|
||||
|
||||
if zha.PROFILE_ID not in DEVICE_CLASS:
|
||||
DEVICE_CLASS[zha.PROFILE_ID] = {}
|
||||
@ -162,7 +162,7 @@ def populate_data():
|
||||
# A map of device/cluster to component/sub-component
|
||||
CUSTOM_CLUSTER_MAPPINGS.update({
|
||||
(quirks.smartthings.SmartthingsTemperatureHumiditySensor, 64581):
|
||||
('sensor', sensor_zha.RelativeHumiditySensor)
|
||||
('sensor', RelativeHumiditySensor)
|
||||
})
|
||||
|
||||
# A map of hass components to all Zigbee clusters it could use
|
||||
|
Loading…
x
Reference in New Issue
Block a user