Commit Graph

19 Commits (87f284c7e9093522820dc773d25ed0e7eb47b76a)

Author SHA1 Message Date
Erik Montnemery ef68f2c3ff
Add empty config schema to integrations d-h (#93645) 2023-05-29 21:00:08 +02:00
J. Nick Koston cc12698f26
Make diagnostics dataclasses sloted (#93600)
Now available since our minimum python version is 3.10

Saves a tiny bit of ram
2023-05-27 20:04:39 -04:00
epenet ba23816a0c
Inverse json import logic (#88099)
* Fix helpers and util

* Adjust components

* Move back errors

* Add report

* mypy

* mypy

* Assert deprecation messages

* Move test_json_loads_object

* Adjust tests

* Fix rebase

* Adjust pylint plugin

* Fix plugin

* Adjust references

* Adjust backup tests
2023-02-16 11:37:57 +01:00
epenet 1deb4c68f3
Adjust diagnostics return types (#85525)
* Adjust diagnostics return types

* Replace dict with Mapping
2023-01-13 09:17:54 +01:00
Erik Montnemery 155db2f2e1
Simplify diagnostics.DownloadDiagnosticsView (#83116)
* Refactor diagnostics.DownloadDiagnosticsView

* Simplify
2022-12-02 15:33:55 +01:00
Erik Montnemery bf7e50eb32
Enable strict typing of diagnostics (#83053)
* Enable strict typing of diagnostics

* Reformat to avoid line break
2022-12-02 11:21:02 +01:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
Marc Mueller 45d8d04c40
Use assignment expressions [other] (#66882) 2022-02-19 17:22:51 +01:00
epenet cc7680b0c3
Adjust pylint plugin to enforce diagnostics type hints (#64976)
* Adjust pylint plugin to enforce diagnostics type hints

* Adjust return_type

* Set return_type to UNDEFINED

* Use Any for the expected data

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 19:22:43 +01:00
Joakim Sørensen 11ad1589fa
Use .json.txt for diagnostics download filetype (#65236) 2022-01-30 13:09:36 -08:00
Joakim Sørensen cda2c73f2f
Use Integration properties for custom integration listing in diagnostics (#64908) 2022-01-25 14:47:27 +01:00
Franck Nijhof 52e169db02
Diagnostics extended info adjustment (#64752) 2022-01-23 11:32:39 +01:00
Michael a56bfe012f
Enhancements for diagnostics platform (#64670) 2022-01-23 10:15:23 +01:00
Paulus Schoutsen 520ba0a82e
Introduce new redact helper (#64579) 2022-01-20 23:02:47 +01:00
Raman Gupta 24c733b271
Pass device entry to async_get_device_diagnostics instead of device_id (#64501) 2022-01-20 01:19:09 -05:00
Raman Gupta 8b3fe0a2d9
Add support for device diagnostics (#64344)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-19 20:48:32 -08:00
Franck Nijhof 944f2c9745
Add redacted constant in diagnostics (#64473) 2022-01-19 22:51:03 +01:00
epenet 250379e181
Add setup type hints (init) (#64351)
* Add setup type hints to acmeda

* Add setup type hints to xiaomi_aqara

* Add setup type hints to motion_blinds

* Add setup type hints to xiaomi_miio

* Add setup type hints to diagnostics

* Add setup type hints to zha

* Add setup type hints to firmata

* Add setup type hints to denonavr

* Add setup type hints to rfxtrx

* Add setup type hints to hue

* Cleanup denonavr

* Add return types to xiaomi_miio

* Fix return type

Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-19 18:00:34 +01:00
Paulus Schoutsen 6055cd20c8
Add diagnostics integration (#64330) 2022-01-17 20:42:18 -08:00