From 1c4d237f0bd815c2cae2eea659f893443da2faef Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 26 Aug 2026 09:58:14 +0200 Subject: [PATCH] Improve typing in bluetooth test (#180246) --- .../test_passive_update_processor.py | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tests/components/bluetooth/test_passive_update_processor.py b/tests/components/bluetooth/test_passive_update_processor.py index 1ca85367a364..05b33096f9f8 100644 --- a/tests/components/bluetooth/test_passive_update_processor.py +++ b/tests/components/bluetooth/test_passive_update_processor.py @@ -832,11 +832,11 @@ GOVEE_B5178_PRIMARY_SERVICE_INFO = BluetoothServiceInfo( GOVEE_B5178_REMOTE_PASSIVE_BLUETOOTH_DATA_UPDATE = PassiveBluetoothDataUpdate( devices={ - "remote": { - "name": "B5178D6FB Remote", - "manufacturer": "Govee", - "model": "H5178-REMOTE", - }, + "remote": DeviceInfo( + name="B5178D6FB Remote", + manufacturer="Govee", + model="H5178-REMOTE", + ), }, entity_descriptions={ PassiveBluetoothEntityKey( @@ -922,16 +922,16 @@ GOVEE_B5178_REMOTE_PASSIVE_BLUETOOTH_DATA_UPDATE = PassiveBluetoothDataUpdate( GOVEE_B5178_PRIMARY_AND_REMOTE_PASSIVE_BLUETOOTH_DATA_UPDATE = ( PassiveBluetoothDataUpdate( devices={ - "remote": { - "name": "B5178D6FB Remote", - "manufacturer": "Govee", - "model": "H5178-REMOTE", - }, - "primary": { - "name": "B5178D6FB Primary", - "manufacturer": "Govee", - "model": "H5178", - }, + "remote": DeviceInfo( + name="B5178D6FB Remote", + manufacturer="Govee", + model="H5178-REMOTE", + ), + "primary": DeviceInfo( + name="B5178D6FB Primary", + manufacturer="Govee", + model="H5178", + ), }, entity_descriptions={ PassiveBluetoothEntityKey(