Remove deprecated sensors and update remaning for Alexa Devices (#151230)

This commit is contained in:
Simone Chemelli
2025-09-25 18:59:53 +02:00
committed by Franck Nijhof
parent cdf613d3f8
commit cee88473a2
20 changed files with 250 additions and 209 deletions

View File

@@ -18,15 +18,13 @@ TEST_DEVICE_1 = AmazonDevice(
online=True,
serial_number=TEST_DEVICE_1_SN,
software_version="echo_test_software_version",
do_not_disturb=False,
response_style=None,
bluetooth_state=True,
entity_id="11111111-2222-3333-4444-555555555555",
appliance_id="G1234567890123456789012345678A",
endpoint_id="G1234567890123456789012345678A",
sensors={
"dnd": AmazonDeviceSensor(name="dnd", value=False, error=False, scale=None),
"temperature": AmazonDeviceSensor(
name="temperature", value="22.5", scale="CELSIUS"
)
name="temperature", value="22.5", error=False, scale="CELSIUS"
),
},
)
@@ -42,14 +40,11 @@ TEST_DEVICE_2 = AmazonDevice(
online=True,
serial_number=TEST_DEVICE_2_SN,
software_version="echo_test_2_software_version",
do_not_disturb=False,
response_style=None,
bluetooth_state=True,
entity_id="11111111-2222-3333-4444-555555555555",
appliance_id="G1234567890123456789012345678A",
endpoint_id="G1234567890123456789012345678A",
sensors={
"temperature": AmazonDeviceSensor(
name="temperature", value="22.5", scale="CELSIUS"
name="temperature", value="22.5", error=False, scale="CELSIUS"
)
},
)