mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Revert aioamazondevices bumps to 16.8.1 and 16.9.1
This reverts #187332 and #187985 from the 2026.10 release branch. Since 16.4.0, aioamazondevices requires orjson>=3.13.0, which conflicts with the orjson==3.11.9 pin on this branch.
This commit is contained in:
@@ -4,7 +4,7 @@ from collections.abc import Callable
|
||||
from dataclasses import dataclass
|
||||
from typing import Final, override
|
||||
|
||||
from aioamazondevices.const.sensors import SENSOR_STATE_OFF
|
||||
from aioamazondevices.const.metadata import SENSOR_STATE_OFF
|
||||
from aioamazondevices.structures import AmazonDevice
|
||||
|
||||
from homeassistant.components.binary_sensor import (
|
||||
|
||||
@@ -8,5 +8,5 @@
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["aioamazondevices"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["aioamazondevices==16.9.1"]
|
||||
"requirements": ["aioamazondevices==16.3.2"]
|
||||
}
|
||||
|
||||
Generated
+1
-1
@@ -190,7 +190,7 @@ aioairzone-cloud==0.7.2
|
||||
aioairzone==1.0.5
|
||||
|
||||
# homeassistant.components.alexa_devices
|
||||
aioamazondevices==16.9.1
|
||||
aioamazondevices==16.3.2
|
||||
|
||||
# homeassistant.components.ambient_network
|
||||
# homeassistant.components.ambient_station
|
||||
|
||||
@@ -47,9 +47,6 @@ TEST_DEVICE_1 = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale=None,
|
||||
feature_name="dnd",
|
||||
property_name="dnd",
|
||||
instance="",
|
||||
),
|
||||
"temperature": AmazonDeviceSensor(
|
||||
name="temperature",
|
||||
@@ -58,9 +55,6 @@ TEST_DEVICE_1 = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale="CELSIUS",
|
||||
feature_name="temperatureSensor",
|
||||
property_name="temperature",
|
||||
instance="1",
|
||||
),
|
||||
},
|
||||
notifications_supported=True,
|
||||
@@ -91,8 +85,6 @@ TEST_DEVICE_1 = AmazonDevice(
|
||||
"dropin": "All",
|
||||
},
|
||||
voice_control_supported=True,
|
||||
features={},
|
||||
unsupported_features={},
|
||||
)
|
||||
|
||||
TEST_DEVICE_2_SN = "echo_test_2_serial_number"
|
||||
@@ -121,9 +113,6 @@ TEST_DEVICE_2 = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale="CELSIUS",
|
||||
feature_name="temperatureSensor",
|
||||
property_name="temperature",
|
||||
instance="1",
|
||||
)
|
||||
},
|
||||
notifications_supported=False,
|
||||
@@ -131,8 +120,6 @@ TEST_DEVICE_2 = AmazonDevice(
|
||||
media_player_supported=False,
|
||||
communication_settings={},
|
||||
voice_control_supported=True,
|
||||
features={},
|
||||
unsupported_features={},
|
||||
)
|
||||
|
||||
TEST_DEVICE_AQM_SN = "aqm_test_serial_number"
|
||||
@@ -163,9 +150,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale="%",
|
||||
feature_name="range",
|
||||
property_name="rangeValue",
|
||||
instance="4",
|
||||
),
|
||||
"VOC": AmazonDeviceSensor(
|
||||
name="VOC",
|
||||
@@ -174,9 +158,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale=None,
|
||||
feature_name="range",
|
||||
property_name="rangeValue",
|
||||
instance="5",
|
||||
),
|
||||
"PM25": AmazonDeviceSensor(
|
||||
name="PM25",
|
||||
@@ -185,9 +166,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale="MicroGramsPerCubicMeter",
|
||||
feature_name="range",
|
||||
property_name="rangeValue",
|
||||
instance="6",
|
||||
),
|
||||
"PM10": AmazonDeviceSensor(
|
||||
name="PM10",
|
||||
@@ -196,9 +174,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale="MicroGramsPerCubicMeter",
|
||||
feature_name="range",
|
||||
property_name="rangeValue",
|
||||
instance="7",
|
||||
),
|
||||
"CO": AmazonDeviceSensor(
|
||||
name="CO",
|
||||
@@ -207,9 +182,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale="ppm",
|
||||
feature_name="range",
|
||||
property_name="rangeValue",
|
||||
instance="8",
|
||||
),
|
||||
"Air Quality": AmazonDeviceSensor(
|
||||
name="Air Quality",
|
||||
@@ -218,9 +190,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale=None,
|
||||
feature_name="range",
|
||||
property_name="rangeValue",
|
||||
instance="9",
|
||||
),
|
||||
},
|
||||
notifications_supported=False,
|
||||
@@ -228,8 +197,6 @@ TEST_DEVICE_AQM = AmazonDevice(
|
||||
media_player_supported=False,
|
||||
communication_settings={},
|
||||
voice_control_supported=False,
|
||||
features={},
|
||||
unsupported_features={},
|
||||
)
|
||||
|
||||
TEST_VOCAL_RECORD_INITIAL = AmazonVocalRecord(
|
||||
|
||||
@@ -18,10 +18,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'dnd',
|
||||
'instance': '',
|
||||
'name': 'dnd',
|
||||
'property_name': 'dnd',
|
||||
'scale': None,
|
||||
'time_of_sample': None,
|
||||
'value': False,
|
||||
@@ -30,10 +27,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'temperatureSensor',
|
||||
'instance': '1',
|
||||
'name': 'temperature',
|
||||
'property_name': 'temperature',
|
||||
'scale': 'CELSIUS',
|
||||
'time_of_sample': None,
|
||||
'value': '22.5',
|
||||
@@ -65,10 +59,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'dnd',
|
||||
'instance': '',
|
||||
'name': 'dnd',
|
||||
'property_name': 'dnd',
|
||||
'scale': None,
|
||||
'time_of_sample': None,
|
||||
'value': False,
|
||||
@@ -77,10 +68,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'temperatureSensor',
|
||||
'instance': '1',
|
||||
'name': 'temperature',
|
||||
'property_name': 'temperature',
|
||||
'scale': 'CELSIUS',
|
||||
'time_of_sample': None,
|
||||
'value': '22.5',
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
'device_type': 'echo',
|
||||
'endpoint_id': 'G1234567890123456789012345678A',
|
||||
'entity_id': '11111111-2222-3333-4444-555555555555',
|
||||
'features': dict({
|
||||
}),
|
||||
'hardware_version': '1.0',
|
||||
'household_device': False,
|
||||
'manufacturer': 'Test manufacturer',
|
||||
@@ -58,10 +56,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'dnd',
|
||||
'instance': '',
|
||||
'name': 'dnd',
|
||||
'property_name': 'dnd',
|
||||
'scale': None,
|
||||
'time_of_sample': None,
|
||||
'value': False,
|
||||
@@ -70,10 +65,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'temperatureSensor',
|
||||
'instance': '1',
|
||||
'name': 'temperature',
|
||||
'property_name': 'temperature',
|
||||
'scale': 'CELSIUS',
|
||||
'time_of_sample': None,
|
||||
'value': '22.5',
|
||||
@@ -81,8 +73,6 @@
|
||||
}),
|
||||
'serial_number': 'echo_test_serial_number',
|
||||
'software_version': 'echo_test_software_version',
|
||||
'unsupported_features': dict({
|
||||
}),
|
||||
'voice_control_supported': True,
|
||||
}),
|
||||
'Alexa.Joke.Play',
|
||||
@@ -114,8 +104,6 @@
|
||||
'device_type': 'echo',
|
||||
'endpoint_id': 'G1234567890123456789012345678A',
|
||||
'entity_id': '11111111-2222-3333-4444-555555555555',
|
||||
'features': dict({
|
||||
}),
|
||||
'hardware_version': '1.0',
|
||||
'household_device': False,
|
||||
'manufacturer': 'Test manufacturer',
|
||||
@@ -150,10 +138,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'dnd',
|
||||
'instance': '',
|
||||
'name': 'dnd',
|
||||
'property_name': 'dnd',
|
||||
'scale': None,
|
||||
'time_of_sample': None,
|
||||
'value': False,
|
||||
@@ -162,10 +147,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'temperatureSensor',
|
||||
'instance': '1',
|
||||
'name': 'temperature',
|
||||
'property_name': 'temperature',
|
||||
'scale': 'CELSIUS',
|
||||
'time_of_sample': None,
|
||||
'value': '22.5',
|
||||
@@ -173,8 +155,6 @@
|
||||
}),
|
||||
'serial_number': 'echo_test_serial_number',
|
||||
'software_version': 'echo_test_software_version',
|
||||
'unsupported_features': dict({
|
||||
}),
|
||||
'voice_control_supported': True,
|
||||
}),
|
||||
'bell_02',
|
||||
@@ -206,8 +186,6 @@
|
||||
'device_type': 'echo',
|
||||
'endpoint_id': 'G1234567890123456789012345678A',
|
||||
'entity_id': '11111111-2222-3333-4444-555555555555',
|
||||
'features': dict({
|
||||
}),
|
||||
'hardware_version': '1.0',
|
||||
'household_device': False,
|
||||
'manufacturer': 'Test manufacturer',
|
||||
@@ -242,10 +220,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'dnd',
|
||||
'instance': '',
|
||||
'name': 'dnd',
|
||||
'property_name': 'dnd',
|
||||
'scale': None,
|
||||
'time_of_sample': None,
|
||||
'value': False,
|
||||
@@ -254,10 +229,7 @@
|
||||
'error': False,
|
||||
'error_msg': None,
|
||||
'error_type': None,
|
||||
'feature_name': 'temperatureSensor',
|
||||
'instance': '1',
|
||||
'name': 'temperature',
|
||||
'property_name': 'temperature',
|
||||
'scale': 'CELSIUS',
|
||||
'time_of_sample': None,
|
||||
'value': '22.5',
|
||||
@@ -265,8 +237,6 @@
|
||||
}),
|
||||
'serial_number': 'echo_test_serial_number',
|
||||
'software_version': 'echo_test_software_version',
|
||||
'unsupported_features': dict({
|
||||
}),
|
||||
'voice_control_supported': True,
|
||||
}),
|
||||
'Play B.B.C. radio on TuneIn',
|
||||
|
||||
@@ -178,9 +178,6 @@ async def test_unit_of_measurement(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale=scale,
|
||||
feature_name="sensor",
|
||||
property_name="sensor",
|
||||
instance="1",
|
||||
)
|
||||
}
|
||||
|
||||
@@ -211,9 +208,6 @@ async def test_sensor_unavailable(
|
||||
error_msg=None,
|
||||
error_type=None,
|
||||
scale=None,
|
||||
feature_name="lightSensor",
|
||||
property_name="illuminance",
|
||||
instance="1",
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user