forked from home-assistant/core
Compare commits
15 Commits
2024.7.0b9
...
2024.7.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b64f6f2ab | ||
|
|
1080a4ef1e | ||
|
|
d94b36cfbb | ||
|
|
85168239cd | ||
|
|
547b24ce58 | ||
|
|
e8bcb3e11e | ||
|
|
c89a9b5ce0 | ||
|
|
13631250b4 | ||
|
|
6621cf475a | ||
|
|
36e74cd9a6 | ||
|
|
16827ea09e | ||
|
|
c4956b66b0 | ||
|
|
84204c38be | ||
|
|
febd1a3772 | ||
|
|
1665cb40ac |
@@ -30,7 +30,7 @@
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["axis"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["axis==61"],
|
||||
"requirements": ["axis==62"],
|
||||
"ssdp": [
|
||||
{
|
||||
"manufacturer": "AXIS"
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/conversation",
|
||||
"integration_type": "system",
|
||||
"quality_scale": "internal",
|
||||
"requirements": ["hassil==1.7.1", "home-assistant-intents==2024.6.26"]
|
||||
"requirements": ["hassil==1.7.1", "home-assistant-intents==2024.7.3"]
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/ecovacs",
|
||||
"iot_class": "cloud_push",
|
||||
"loggers": ["sleekxmppfs", "sucks", "deebot_client"],
|
||||
"requirements": ["py-sucks==0.9.10", "deebot-client==8.0.0"]
|
||||
"requirements": ["py-sucks==0.9.10", "deebot-client==8.1.0"]
|
||||
}
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/frontend",
|
||||
"integration_type": "system",
|
||||
"quality_scale": "internal",
|
||||
"requirements": ["home-assistant-frontend==20240702.0"]
|
||||
"requirements": ["home-assistant-frontend==20240703.0"]
|
||||
}
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/calendar.google",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["googleapiclient"],
|
||||
"requirements": ["gcal-sync==6.1.3", "oauth2client==4.1.3", "ical==8.1.1"]
|
||||
"requirements": ["gcal-sync==6.1.4", "oauth2client==4.1.3", "ical==8.1.1"]
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/here_travel_time",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["here_routing", "here_transit", "homeassistant.helpers.location"],
|
||||
"requirements": ["here-routing==0.2.0", "here-transit==1.2.0"]
|
||||
"requirements": ["here-routing==1.0.1", "here-transit==1.2.1"]
|
||||
}
|
||||
|
||||
@@ -28,5 +28,5 @@
|
||||
"dependencies": ["bluetooth_adapters"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/inkbird",
|
||||
"iot_class": "local_push",
|
||||
"requirements": ["inkbird-ble==0.5.6"]
|
||||
"requirements": ["inkbird-ble==0.5.7"]
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
"dependencies": ["websocket_api"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/matter",
|
||||
"iot_class": "local_push",
|
||||
"requirements": ["python-matter-server==6.2.0b1"],
|
||||
"requirements": ["python-matter-server==6.2.2"],
|
||||
"zeroconf": ["_matter._tcp.local.", "_matterc._udp.local."]
|
||||
}
|
||||
|
||||
@@ -6,7 +6,11 @@ from dataclasses import dataclass
|
||||
|
||||
from chip.clusters import Objects as clusters
|
||||
from chip.clusters.Types import Nullable, NullValue
|
||||
from matter_server.common.custom_clusters import EveCluster
|
||||
from matter_server.common.custom_clusters import (
|
||||
EveCluster,
|
||||
NeoCluster,
|
||||
ThirdRealityMeteringCluster,
|
||||
)
|
||||
|
||||
from homeassistant.components.sensor import (
|
||||
SensorDeviceClass,
|
||||
@@ -171,9 +175,6 @@ DISCOVERY_SCHEMAS = [
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(EveCluster.Attributes.Watt,),
|
||||
# Add OnOff Attribute as optional attribute to poll
|
||||
# the primary value when the relay is toggled
|
||||
optional_attributes=(clusters.OnOff.Attributes.OnOff,),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
@@ -213,9 +214,6 @@ DISCOVERY_SCHEMAS = [
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(EveCluster.Attributes.Current,),
|
||||
# Add OnOff Attribute as optional attribute to poll
|
||||
# the primary value when the relay is toggled
|
||||
optional_attributes=(clusters.OnOff.Attributes.OnOff,),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
@@ -364,4 +362,90 @@ DISCOVERY_SCHEMAS = [
|
||||
clusters.ActivatedCarbonFilterMonitoring.Attributes.Condition,
|
||||
),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
entity_description=MatterSensorEntityDescription(
|
||||
key="ThirdRealityEnergySensorWatt",
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
suggested_display_precision=2,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
measurement_to_ha=lambda x: x / 1000,
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(
|
||||
ThirdRealityMeteringCluster.Attributes.InstantaneousDemand,
|
||||
),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
entity_description=MatterSensorEntityDescription(
|
||||
key="ThirdRealityEnergySensorWattAccumulated",
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||
suggested_display_precision=3,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
measurement_to_ha=lambda x: x / 1000,
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(
|
||||
ThirdRealityMeteringCluster.Attributes.CurrentSummationDelivered,
|
||||
),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
entity_description=MatterSensorEntityDescription(
|
||||
key="NeoEnergySensorWatt",
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
suggested_display_precision=2,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
measurement_to_ha=lambda x: x / 10,
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(NeoCluster.Attributes.Watt,),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
entity_description=MatterSensorEntityDescription(
|
||||
key="NeoEnergySensorWattAccumulated",
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
||||
suggested_display_precision=1,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(NeoCluster.Attributes.WattAccumulated,),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
entity_description=MatterSensorEntityDescription(
|
||||
key="NeoEnergySensorVoltage",
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfElectricPotential.VOLT,
|
||||
suggested_display_precision=0,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
measurement_to_ha=lambda x: x / 10,
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(NeoCluster.Attributes.Voltage,),
|
||||
),
|
||||
MatterDiscoverySchema(
|
||||
platform=Platform.SENSOR,
|
||||
entity_description=MatterSensorEntityDescription(
|
||||
key="NeoEnergySensorWattCurrent",
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=UnitOfElectricCurrent.MILLIAMPERE,
|
||||
suggested_display_precision=0,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
entity_class=MatterSensor,
|
||||
required_attributes=(NeoCluster.Attributes.Current,),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -26,7 +26,7 @@ from homeassistant.components.cover import (
|
||||
ATTR_CURRENT_POSITION,
|
||||
ATTR_CURRENT_TILT_POSITION,
|
||||
)
|
||||
from homeassistant.components.http import HomeAssistantView
|
||||
from homeassistant.components.http import KEY_HASS, HomeAssistantView
|
||||
from homeassistant.components.humidifier import ATTR_AVAILABLE_MODES, ATTR_HUMIDITY
|
||||
from homeassistant.components.light import ATTR_BRIGHTNESS
|
||||
from homeassistant.components.sensor import SensorDeviceClass
|
||||
@@ -729,7 +729,11 @@ class PrometheusView(HomeAssistantView):
|
||||
"""Handle request for Prometheus metrics."""
|
||||
_LOGGER.debug("Received Prometheus metrics request")
|
||||
|
||||
hass = request.app[KEY_HASS]
|
||||
body = await hass.async_add_executor_job(
|
||||
prometheus_client.generate_latest, prometheus_client.REGISTRY
|
||||
)
|
||||
return web.Response(
|
||||
body=prometheus_client.generate_latest(prometheus_client.REGISTRY),
|
||||
body=body,
|
||||
content_type=CONTENT_TYPE_TEXT_PLAIN,
|
||||
)
|
||||
|
||||
@@ -24,7 +24,7 @@ if TYPE_CHECKING:
|
||||
APPLICATION_NAME: Final = "HomeAssistant"
|
||||
MAJOR_VERSION: Final = 2024
|
||||
MINOR_VERSION: Final = 7
|
||||
PATCH_VERSION: Final = "0b9"
|
||||
PATCH_VERSION: Final = "0"
|
||||
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
||||
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
|
||||
REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 12, 0)
|
||||
|
||||
@@ -32,8 +32,8 @@ habluetooth==3.1.3
|
||||
hass-nabucasa==0.81.1
|
||||
hassil==1.7.1
|
||||
home-assistant-bluetooth==1.12.2
|
||||
home-assistant-frontend==20240702.0
|
||||
home-assistant-intents==2024.6.26
|
||||
home-assistant-frontend==20240703.0
|
||||
home-assistant-intents==2024.7.3
|
||||
httpx==0.27.0
|
||||
ifaddr==0.2.0
|
||||
Jinja2==3.1.4
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "homeassistant"
|
||||
version = "2024.7.0b9"
|
||||
version = "2024.7.0"
|
||||
license = {text = "Apache-2.0"}
|
||||
description = "Open-source home automation platform running on Python 3."
|
||||
readme = "README.rst"
|
||||
|
||||
@@ -520,7 +520,7 @@ aurorapy==0.2.7
|
||||
# avion==0.10
|
||||
|
||||
# homeassistant.components.axis
|
||||
axis==61
|
||||
axis==62
|
||||
|
||||
# homeassistant.components.azure_event_hub
|
||||
azure-eventhub==5.11.1
|
||||
@@ -709,7 +709,7 @@ debugpy==1.8.1
|
||||
# decora==0.6
|
||||
|
||||
# homeassistant.components.ecovacs
|
||||
deebot-client==8.0.0
|
||||
deebot-client==8.1.0
|
||||
|
||||
# homeassistant.components.ihc
|
||||
# homeassistant.components.namecheapdns
|
||||
@@ -924,7 +924,7 @@ gardena-bluetooth==1.4.2
|
||||
gassist-text==0.0.11
|
||||
|
||||
# homeassistant.components.google
|
||||
gcal-sync==6.1.3
|
||||
gcal-sync==6.1.4
|
||||
|
||||
# homeassistant.components.geniushub
|
||||
geniushub-client==0.7.1
|
||||
@@ -1065,10 +1065,10 @@ hdate==0.10.9
|
||||
heatmiserV3==1.1.18
|
||||
|
||||
# homeassistant.components.here_travel_time
|
||||
here-routing==0.2.0
|
||||
here-routing==1.0.1
|
||||
|
||||
# homeassistant.components.here_travel_time
|
||||
here-transit==1.2.0
|
||||
here-transit==1.2.1
|
||||
|
||||
# homeassistant.components.hikvisioncam
|
||||
hikvision==0.4
|
||||
@@ -1090,10 +1090,10 @@ hole==0.8.0
|
||||
holidays==0.51
|
||||
|
||||
# homeassistant.components.frontend
|
||||
home-assistant-frontend==20240702.0
|
||||
home-assistant-frontend==20240703.0
|
||||
|
||||
# homeassistant.components.conversation
|
||||
home-assistant-intents==2024.6.26
|
||||
home-assistant-intents==2024.7.3
|
||||
|
||||
# homeassistant.components.home_connect
|
||||
homeconnect==0.7.2
|
||||
@@ -1161,7 +1161,7 @@ influxdb-client==1.24.0
|
||||
influxdb==5.3.1
|
||||
|
||||
# homeassistant.components.inkbird
|
||||
inkbird-ble==0.5.6
|
||||
inkbird-ble==0.5.7
|
||||
|
||||
# homeassistant.components.insteon
|
||||
insteon-frontend-home-assistant==0.5.0
|
||||
@@ -2281,7 +2281,7 @@ python-kasa[speedups]==0.7.0.2
|
||||
# python-lirc==1.2.3
|
||||
|
||||
# homeassistant.components.matter
|
||||
python-matter-server==6.2.0b1
|
||||
python-matter-server==6.2.2
|
||||
|
||||
# homeassistant.components.xiaomi_miio
|
||||
python-miio==0.5.12
|
||||
|
||||
@@ -460,7 +460,7 @@ auroranoaa==0.0.3
|
||||
aurorapy==0.2.7
|
||||
|
||||
# homeassistant.components.axis
|
||||
axis==61
|
||||
axis==62
|
||||
|
||||
# homeassistant.components.azure_event_hub
|
||||
azure-eventhub==5.11.1
|
||||
@@ -590,7 +590,7 @@ dbus-fast==2.22.1
|
||||
debugpy==1.8.1
|
||||
|
||||
# homeassistant.components.ecovacs
|
||||
deebot-client==8.0.0
|
||||
deebot-client==8.1.0
|
||||
|
||||
# homeassistant.components.ihc
|
||||
# homeassistant.components.namecheapdns
|
||||
@@ -762,7 +762,7 @@ gardena-bluetooth==1.4.2
|
||||
gassist-text==0.0.11
|
||||
|
||||
# homeassistant.components.google
|
||||
gcal-sync==6.1.3
|
||||
gcal-sync==6.1.4
|
||||
|
||||
# homeassistant.components.geocaching
|
||||
geocachingapi==0.2.1
|
||||
@@ -876,10 +876,10 @@ hassil==1.7.1
|
||||
hdate==0.10.9
|
||||
|
||||
# homeassistant.components.here_travel_time
|
||||
here-routing==0.2.0
|
||||
here-routing==1.0.1
|
||||
|
||||
# homeassistant.components.here_travel_time
|
||||
here-transit==1.2.0
|
||||
here-transit==1.2.1
|
||||
|
||||
# homeassistant.components.hko
|
||||
hko==0.3.2
|
||||
@@ -895,10 +895,10 @@ hole==0.8.0
|
||||
holidays==0.51
|
||||
|
||||
# homeassistant.components.frontend
|
||||
home-assistant-frontend==20240702.0
|
||||
home-assistant-frontend==20240703.0
|
||||
|
||||
# homeassistant.components.conversation
|
||||
home-assistant-intents==2024.6.26
|
||||
home-assistant-intents==2024.7.3
|
||||
|
||||
# homeassistant.components.home_connect
|
||||
homeconnect==0.7.2
|
||||
@@ -951,7 +951,7 @@ influxdb-client==1.24.0
|
||||
influxdb==5.3.1
|
||||
|
||||
# homeassistant.components.inkbird
|
||||
inkbird-ble==0.5.6
|
||||
inkbird-ble==0.5.7
|
||||
|
||||
# homeassistant.components.insteon
|
||||
insteon-frontend-home-assistant==0.5.0
|
||||
@@ -1778,7 +1778,7 @@ python-juicenet==1.1.0
|
||||
python-kasa[speedups]==0.7.0.2
|
||||
|
||||
# homeassistant.components.matter
|
||||
python-matter-server==6.2.0b1
|
||||
python-matter-server==6.2.2
|
||||
|
||||
# homeassistant.components.xiaomi_miio
|
||||
python-miio==0.5.12
|
||||
|
||||
Reference in New Issue
Block a user