mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove unused variable in test util for NUT (#143304)
This commit is contained in:
parent
b97d8e163d
commit
eb642e8a06
@ -125,7 +125,6 @@ async def test_pdu_devices_with_unique_ids(
|
||||
_test_sensor_and_attributes(
|
||||
hass,
|
||||
entity_registry,
|
||||
model,
|
||||
unique_id=f"{unique_id_base}_input.voltage",
|
||||
device_id="sensor.ups1_input_voltage",
|
||||
state_value="122.91",
|
||||
@ -140,7 +139,6 @@ async def test_pdu_devices_with_unique_ids(
|
||||
_test_sensor_and_attributes(
|
||||
hass,
|
||||
entity_registry,
|
||||
model,
|
||||
unique_id=f"{unique_id_base}_ambient.humidity.status",
|
||||
device_id="sensor.ups1_ambient_humidity_status",
|
||||
state_value="good",
|
||||
@ -153,7 +151,6 @@ async def test_pdu_devices_with_unique_ids(
|
||||
_test_sensor_and_attributes(
|
||||
hass,
|
||||
entity_registry,
|
||||
model,
|
||||
unique_id=f"{unique_id_base}_ambient.temperature.status",
|
||||
device_id="sensor.ups1_ambient_temperature_status",
|
||||
state_value="good",
|
||||
@ -334,7 +331,6 @@ async def test_pdu_dynamic_outlets(
|
||||
_test_sensor_and_attributes(
|
||||
hass,
|
||||
entity_registry,
|
||||
model,
|
||||
unique_id=f"{unique_id_base}_outlet.1.current",
|
||||
device_id="sensor.ups1_outlet_a1_current",
|
||||
state_value="0",
|
||||
@ -348,7 +344,6 @@ async def test_pdu_dynamic_outlets(
|
||||
_test_sensor_and_attributes(
|
||||
hass,
|
||||
entity_registry,
|
||||
model,
|
||||
unique_id=f"{unique_id_base}_outlet.24.current",
|
||||
device_id="sensor.ups1_outlet_a24_current",
|
||||
state_value="0.19",
|
||||
|
@ -104,7 +104,6 @@ async def async_init_integration(
|
||||
def _test_sensor_and_attributes(
|
||||
hass: HomeAssistant,
|
||||
entity_registry: er.EntityRegistry,
|
||||
model: str,
|
||||
unique_id: str,
|
||||
device_id: str,
|
||||
state_value: str,
|
||||
|
Loading…
x
Reference in New Issue
Block a user