* Enable Ruff RET504 * fix test * Use noqa instead of cast * fix sonos RET504 --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add diagnostics download to goodwe integration * Revert change not related to test * Use MagicMock for mock inverter * Use spec with mock