Abílio Costa
d8dd6a99b3
Use default translation on SensorEntity unit_of_measurement ( #131633 )
...
* Use translations on SensorEntity unit_of_measurement property
* Use default language for unit translation
* Update brother integration snapshot
* Update snapshots
2024-11-27 14:45:53 +01:00
Maciej Bieniek
f81955ef25
Add unit translations for Brother integration ( #131275 )
2024-11-26 10:27:02 +01:00
Maciej Bieniek
826f6c6f7e
Refactor tests for Brother integration ( #117377 )
...
* Refactor tests - step 1
* Remove fixture
* Refactor test_init
* Refactor test_diagnostics
* Refactor test_config_flow
* Increase test coverage
* Cleaning
* Cleaning
* Check config entry state in test_async_setup_entry
* Simplify patching
* Use AsyncMock when patching
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-19 20:41:47 +02:00
Maciej Bieniek
c4e7a7af21
Use snapshot testing in Brother sensor ( #115875 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-04-20 12:33:08 +02:00
Maciej Bieniek
bccd9bd21f
Bump `brother` library to version 4.0.0 ( #111157 )
...
* Bump library
* Update code to the new library version
* Improve diagnostics
* Fix tests
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-22 23:27:24 +02:00
Joost Lekkerkerker
f44215d286
Use snapshot assertion for Brother diagnostics test ( #98904 )
2023-08-24 11:19:16 +02:00