Commit Graph
111 Commits
Author SHA1 Message Date
Jan RiegerandGitHub 4fe8a43cc9 Remove native_unit_of_measurement from Onewire counters (#132076) 2024-12-06 21:23:45 +01:00
epenetandGitHub ae95d802cc Fix missing translations in onewire (#130673) 2024-11-15 08:40:57 +01:00
epenetandGitHub c5046f7809 Add check for valid abort reason translation in option flows (#128444) 2024-10-16 13:41:15 +02:00
Joost LekkerkerkerandGitHub f8ba4d41ba Add support for adding model_id in device info (#121989) 2024-07-16 15:12:25 +02:00
Marc MuellerandGitHub 921430d497 Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
9bbeb5d608 Add primary_config_entry attribute to device registry entries (#119959)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-26 12:26:24 +02:00
Paulus SchoutsenandGitHub eb89ce47ea Inline primary integration (#119860) 2024-06-18 08:08:08 +02:00
Paulus SchoutsenandGitHub 836abe68c7 Track primary integration (#119741)
* Track primary integration

* Update snapshots

* More snapshots updated

* Uno mas

* Update snapshot
2024-06-16 13:26:06 -04:00
Marc MuellerandGitHub 837ee7c4fb Import Generator from typing_extensions (4) (#118992) 2024-06-06 17:41:37 +02:00
epenetandGitHub 301c17cba7 Use registry fixtures in tests (o-p) (#118292) 2024-05-28 13:42:38 +02:00
epenetandGitHub 8291769361 Store runtime data in entry in onewire (#116450)
* Store runtime data in entry in onewire

* Adjust
2024-04-30 15:55:20 +02:00
epenetandGitHub a3942e019b Use remove_device helper in tests (2/2) (#116442)
Use remove_device helper in tests (part 2)
2024-04-30 12:50:35 +02:00
epenetandGitHub c1572d9600 Handle invalid device type in onewire (#116153)
* Make device type optional in onewire

* Add comment
2024-04-27 09:26:26 +02:00
Joost LekkerkerkerandGitHub 5d500cb74b Use is in enum comparison in config flow tests K-O (#114672) 2024-04-02 11:21:42 -10:00
Erik MontnemeryandGitHub 426f73b1f4 Add State.last_reported (#113511)
* Add State.last_reported

* Update tests

* Update test snapshots

* Call state_reported listeners when firing state_changed event

* Add tests
2024-03-20 21:05:07 +01:00
epenetandGitHub 3844ade572 Fix unknown values in onewire (#113731)
* Fix unknown values in onewire

* Update tests
2024-03-18 10:12:46 +01:00
fe9cc6705c Add ruff rule PIE804 (#113620)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 12:45:18 -10:00
SidandGitHub ccd2e989c3 Enable ruff RUF005 and fix occurrences (#113589) 2024-03-16 07:37:20 -10:00
Joost LekkerkerkerandGitHub e6a692f354 Improve lists in integrations [N-O] (#113231) 2024-03-13 21:51:38 +01:00
definitioandGitHub 6f19744469 Add A6 family code for DS2438 1-Wire sensor (#112844)
* Add A6 family code for DS2438

* Add tests

* Fix switch

* Apply code review suggestion

* Add comments
2024-03-12 08:06:02 +01:00
Marc MuellerandGitHub aa16a9d707 Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc MuellerandGitHub 1722e23df8 Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
Franck NijhofandGitHub e0a9dcd996 Add label registry (#110821) 2024-02-19 11:59:08 +01:00
J. Nick KostonandGitHub 8282018260 Migrate onewire to use async_update_entry to alter config entries (#110413) 2024-02-12 15:29:50 -06:00
Jan RiegerandGitHub a584429ce0 Use translation placeholders in 1-Wire (#109120) 2024-02-02 12:37:23 +01:00
1621310ba7 Add serial_number to device registry entries (#102334)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-22 15:14:44 +02:00
J. Nick KostonandGitHub 433c022687 Save previous unique id in entity registry when it changes (#102093) 2023-10-16 21:26:19 -10:00
Joost LekkerkerkerandGitHub 54ed8fc914 Use device class translations for 1-wire (#98813) 2023-08-24 22:19:29 +02:00
epenetandGitHub 7dfbfd45ae Cleanup onewire tests (#92117) 2023-04-29 11:18:16 +02:00
epenetandGitHub 7801eeb063 Use snapshot in onewire diagnostics tests (#92112) 2023-04-27 13:34:13 +02:00
epenetandGitHub aac750a44f Improve TAI8570 ignore tests in onewire (#92113)
Improve TAI8570 tests in onewire
2023-04-27 13:33:30 +02:00
epenetandGitHub 60d7ea6f0d Use SnapshotAssertion in 1-wire tests (#90782) 2023-04-22 17:22:05 +02:00
epenetandGitHub 2d1bb6135c Use entity name translations in 1-wire (#90696)
* Use entity name translations in onewire

* Adjust binary sensors

* Adjust switches

* Cleanup
2023-04-03 13:07:02 -04:00
epenetandGitHub c06ec1f78f Improve onewire test coverage (#90184) 2023-03-26 23:46:52 +02:00
epenetandGitHub ff8b91aeea Add freezer to known test fixtures in pylint (#89825)
Add freezer to known fixtures in pylint
2023-03-16 22:39:41 -04:00
epenetandGitHub 71dc98a39c Improve hass_ws_client type hint in tests (#89703) 2023-03-14 16:31:40 +01:00
Paulus SchoutsenandGitHub d6a223f0e1 Await block till done inside patched config entry in tests (#89515) 2023-03-10 06:42:53 -10:00
epenetandGitHub bf5f7c53d8 Move mock_setup_entry to conftest (#88484) 2023-03-06 11:31:50 +01:00
epenetandGitHub 88444b2e0c Add type hints to integration tests (part 16) (#88008) 2023-02-15 10:50:02 +01:00
Erik MontnemeryandGitHub cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenetandGitHub 678d1e367d Refactor onewire options flow tests (#87711) 2023-02-09 11:52:26 +01:00
Franck NijhofandGitHub 330e1c6cbb Clean up unnecessary registry mocks from integration tests (#87763) 2023-02-09 10:43:45 +01:00
2f3b509513 Refactor onewire options flow (#87162)
* Refactor onewire options flow

* Adjust

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_entries_for_config_entry

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-05 01:18:20 +01:00
epenetandGitHub 783e6fdd36 Ignore TAI8570 errors in onewire (#87154) 2023-02-03 09:11:54 -05:00
MichaelandGitHub 72d3fa6d89 Replace the usage of unit constants by enumerations in Tests [o-r] (#85936) 2023-01-15 14:50:24 +01:00
epenetandGitHub 3737170d37 Improve onewire tests (#85064) 2023-01-03 17:32:39 +01:00
Franck NijhofandGitHub a6244eea28 Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
epenetandGitHub ca5f13b576 Allow removing a onewire device (#72710) 2022-05-31 10:40:08 +02:00
epenetandGitHub 08856cfab0 Remove 1-Wire SysBus (ADR-0019) (#71232) 2022-05-09 13:16:23 +02:00
cfed1ff799 Add config flow for selecting precision of DS18B20 devices (#64315)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 11:41:59 -08:00