Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Jan 13, 2025
1 parent 7ce880f commit b848e7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_cluster_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ async def poll_control_device_mock(zha_gateway: Gateway) -> Device:
"ac_power_divisor",
"ac_voltage_multiplier",
"ac_power_multiplier",
"power_divisor",
"power_multiplier",
"ac_current_multiplier",
"ac_frequency",
"ac_frequency_max",
Expand Down
2 changes: 2 additions & 0 deletions tests/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,8 @@ async def test_elec_measurement_skip_unsupported_attribute(
"ac_voltage_multiplier",
"ac_power_multiplier",
"ac_current_multiplier",
"power_divisor",
"power_multiplier",
}
for attr in all_attrs - supported_attributes:
cluster.add_unsupported_attribute(attr)
Expand Down

0 comments on commit b848e7a

Please sign in to comment.