Maciej Bieniek
8176400cfd
Migrate attributes to separate sensors in Brother integration ( #79932 )
...
Migrate attributes to sensors
2022-10-09 14:48:01 +02:00
epenet
c5a56dab42
Apply hass-relative-import to tests (a-c) ( #78728 )
2022-09-19 09:48:25 +02:00
Maciej Bieniek
721fddc016
Bump `brother` backend library ( #78072 )
...
* Update integration for a new library
* Update tests
* Add unique_id migration
* Update integration and tests for lib 2.0.0
* Improve test coverage
* Improve typing in tests
2022-09-18 23:28:17 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Maciej Bieniek
c2b484e38b
Use IP address instead of hostname in Brother integration ( #73556 )
2022-06-16 11:43:36 +02:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Maciej Bieniek
9e2a8a5b09
Add diagnostics to Brother integration ( #64478 )
...
* Add diagnostics
* Suggested changes
* Fix tests
2022-01-21 17:23:42 +01:00
Josh Soref
85bafbbc21
spelling: components/brother ( #64273 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:15:45 +01:00
Dave T
84dad5d678
Use DeviceClass Enums in brother tests ( #62110 )
2021-12-16 21:22:04 +01:00
Ville Skyttä
5bf67cac66
Use RegistryEntryDisabler ( #60436 )
2021-12-15 23:25:40 +02:00
Maciej Bieniek
970df6d067
Move sensor stuff to the sensor platform in Brother integration ( #60306 )
2021-11-24 22:50:35 +01:00
epenet
1d3fbc93a0
Update ZeroconfServiceInfo in tests (a-f) ( #60212 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06:00
epenet
b3ffc1e183
Adjust async_step_zeroconf signature for strict typing ( #59503 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
epenet
ab1e14204f
Rename zeroconf service info ( #59467 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00
epenet
2b22d635d9
Use zeroconf HaServiceInfo in tests (A-D) ( #58836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:31 -05:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Maciej Bieniek
85c6942f55
Bump `brother` library to version 1.1.0 ( #57892 )
2021-10-17 00:12:35 -10:00
J. Nick Koston
0dcb8ca270
Avoid probing brother devices that have an existing config entry ( #57829 )
2021-10-16 14:52:10 -07:00
Maciej Bieniek
0404acddf9
Add support for state_class ( #51512 )
2021-06-10 21:31:21 +03:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Maciej Bieniek
39e8a92596
Remove unused code from Brother config flow ( #49889 )
2021-04-30 16:41:55 +02:00
Maciej Bieniek
3210c086ef
Improve type annotations for the Brother integration ( #49771 )
2021-04-29 16:59:31 +02:00
Ville Skyttä
a396619251
Use disabled_by constants ( #49584 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
Maciej Bieniek
e75233b279
Bump `brother` library to version 1.0.0 ( #49547 )
...
* Bump brother library
* Improve attributes generation
2021-04-22 13:20:14 +02:00
Erik Montnemery
78b21b1ad1
Update tests a-b to use async_get() instead of async_get_registry() ( #47651 )
2021-03-09 14:24:34 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Maciej Bieniek
a4ae2d210e
Bump Brother library to version 0.1.20 ( #43628 )
2020-11-28 10:17:16 -10:00
Maciej Bieniek
885e393df9
Make Brother uptime sensor disabled by default ( #43478 )
2020-11-22 11:42:16 -10:00
Maciej Bieniek
bba0bb1bad
Fix the name of the translation key for Brother integration ( #41054 )
2020-10-02 15:06:28 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Maciej Bieniek
2568932c1c
Bump brother library to version 0.1.15 ( #39226 )
2020-08-26 10:55:57 +02:00
Bram Kragten
9ecaa10e51
Adjust icons for MDI bump ( #37730 )
2020-07-14 22:17:14 +02:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Maciej Bieniek
3461f3a1ed
Tests improvements to the Brother integration ( #32982 )
...
* Add tests for states of the sensors
* Revert async_update method
* Tests improvement
* Fix icon name
* Tests improvement
* Simplify tests
* Test improvement
* Patch the library instead of the coordinator
* Suggested change
* Remove return_value
2020-03-20 10:21:43 +01:00
Maciej Bieniek
c1ceab09e5
Migrate Brother to use DataUpdateCoordinator ( #32800 )
...
* Use DataCoordinator to update Brother data
* Simplify error text
* Improve tests
* Rename DEFAULT_SCAN_INTERVAL to SCAN_INTERVAL
* Add entity_registry_enabled_default property
* Add quality_scale to manifest.json file
* Remove misleading coordinator.data.data
2020-03-17 22:21:56 -05:00
Maciej Bieniek
4c27d6b9aa
Add zeroconf discovery support to Brother Printer integration ( #30959 )
...
* Add zeroconf discovery support
* Fix data for config_entry
* Add sting for zeroconf confirm dialog
* Add and fix tests
* Fix pylint errors
* Suggested changes
* Tests
* Remove unnecessary object
* Add error handling
* Remove unnecessary objects
* Suggested change
* Suggested change
* Use core interfaces for tests
2020-01-22 11:34:11 -08:00
Maciej Bieniek
21029b1d7b
Add Brother Printer integration ( #30359 )
...
* Init entities as unavailable when offline
* Initial commit
* Fix CODEOWNERS
* CODEOWNERS
* Run script.hassfest
* Add initial test
* Bump library
* More tests
* Tests
* Add new sensors and fix KeyError
* Fix unique_id and device_info
* Fix check for configured device
* More tests
* Bump library version
* Add uptime sensor
* Use config entry unique ID
* Run python3 -m script.gen_requirements_all
* Fix pylint error
* Remove pysnmp dependency
* Raise ConfigEntryNotReady when device offline at HA start
* Remove period from logging message
* Generator simplification
* Change raise_on_progress
* Rename data to printer
* Move update state to async_update
* Remove unused _unit_of_measurement
* Remove update of device_info
* Suggested change for tests
* Remove unnecessary argument
* Suggested change
2020-01-06 11:06:16 -06:00