Commit Graph
49 Commits
Author SHA1 Message Date
DeerMaximum 2881916c91 Replace NINA attributes with sensors (#161882) 2026-04-01 21:53:28 +02:00
DeerMaximum e855b92b82 Introduce a base entity for NINA (#166637) 2026-03-27 17:19:30 +01:00
Artur Pragacz bafef2065f Rework user-given entity name logic (#162763) 2026-03-17 11:09:20 +01:00
DeerMaximum 60f498c1fa Use configuration constants in NINA tests (#161119) 2026-01-17 14:22:32 +01:00
DeerMaximum 8503637a80 Patch the NINA library instead of the HTTP requests (#161074) 2026-01-17 13:00:40 +01:00
DeerMaximum ad47eccf5f Bump pynina to 1.0.2 (#161013) 2026-01-16 08:24:58 +01:00
Artur Pragacz 0130919128 Improve entity id generation (#160302) 2026-01-14 14:34:52 +01:00
DeerMaximumandJoostlek d125bb88d1 Use load_json_object_fixture in tests for NINA (#160690)
Co-authored-by: Joostlek <joostlek@outlook.com>
2026-01-12 17:09:18 +01:00
DeerMaximum f8ec395e96 Use snapshots for binary sensor tests in Nina (#160532) 2026-01-10 17:47:29 +01:00
DeerMaximumandJoost Lekkerkerker 1b436a8808 Use async_configure in NINA to set flow data in tests (#160435)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2026-01-07 23:48:42 +01:00
DeerMaximum 6181f4e7de NINA Use MockConfigEntry to setup integration in test (#160324) 2026-01-07 16:33:06 +01:00
DeerMaximum fc2530e979 Use a fixture in NINA to mock async_setup_entry (#160323) 2026-01-05 21:51:10 +01:00
DeerMaximum 2cd0637324 Fix NINA flow tests to end a final state (#156664) 2025-11-25 14:36:45 +01:00
DeerMaximum 564ff12db0 Make NINA area filter accessible also in the config flow (#147514) 2025-10-23 11:37:22 +02:00
DeerMaximum 9c21965a34 Add diagnostics to NINA (#150638) 2025-08-14 19:57:33 +02:00
G Johansson 360da43868 Use OptionsFlowWithReload in nina (#149068) 2025-07-19 16:40:32 +02:00
DeerMaximum 25968925e7 Use has_entity_name in NINA (#146755)
* Comply with has-entity-name rule.

* Fix tests
2025-06-22 23:57:33 +02:00
DeerMaximum 5529cfda09 Nina: Add URL for more information to warning (#131070) 2024-11-21 08:15:27 +01:00
DeerMaximum 0de4bfcc2c Add missing translation string for NINA (#129826) 2024-11-09 18:33:28 +01:00
epenet 0bc572787a Add check for valid error code in translation checks in flows (#128445) 2024-10-16 19:03:24 +02:00
epenet 1eb8d0fa1c Don't abort on unknown error in nina config flow (#127908) 2024-10-08 09:10:26 +02:00
epenetandJoost Lekkerkerker df2ea1e875 Improve type hints in nina config flow (#124910)
* Improve type hints in nina config flow

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-30 11:21:05 +02:00
epenet 3e9d25f81d Add missing argument type hints to component tests (#119671) 2024-06-14 09:26:46 +02:00
epenet ead0e797c1 Use registry fixtures in tests (m-n) (#118291) 2024-05-28 13:40:45 +02:00
Marc Mueller 905adb2431 Update codespell ignore list (#118018) 2024-05-24 10:24:34 +02:00
epenet 9204ccfa17 Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926) 2024-04-05 17:37:00 +02:00
Joost Lekkerkerker 5d500cb74b Use is in enum comparison in config flow tests K-O (#114672) 2024-04-02 11:21:42 -10:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller aa16a9d707 Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller 1722e23df8 Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
Maximilian d179f8b47d Add filter for affected areas in NINA warnings (#97053)
* Add affected areas to warnings

* Update config flow

* Remove option from config_flow

* Add regex check

* Remove regex check
2023-08-22 22:23:34 +02:00
Maximilian c76fac0633 Bump pynina to 0.3.1 (#96693) 2023-07-17 09:27:01 +02:00
Maximilian 0bfb81ecf3 Replace NINA corona filter with regex (#83181)
* Change headline filter to regex

* Add config migration

* Update config flow
2023-06-28 13:00:08 +02:00
Franck Nijhof 5e81d28116 Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Maximilian 5990bd7ca3 Add recommended actions to NINA (#83775) 2022-12-27 11:24:54 +01:00
Paulus Schoutsen 55b46bfa7a Fix flaky Nina CI test (#84522) 2022-12-23 22:36:11 -05:00
Maximilian d2ee08c6fe Add filter for duplicate NINA warnings (#84069)
Add filter for duplicate warnings
2022-12-21 15:54:49 +01:00
Maximilian 0aa4d0fb7b Bump pynina to 0.2.0 (#83726)
* Bump pynina to version 0.2.0

* Update tests with new url
2022-12-11 12:43:45 +02:00
Maximilian 7ae942a62b Fix nina warning state (#76354)
* Fix warning state

* Improve data handling

* Remove duplicate code
2022-10-01 21:22:18 -07:00
Erik Montnemery aa0fd8c935 Avoid mutating globals in nina tests (#78513) 2022-09-15 12:05:29 +02:00
Franck Nijhof 7cd68381f1 Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
Maximilian dc22726425 Optimize optionflow tests (#74262)
* Optimize optionflow tests

* Extend mocking
2022-06-30 19:45:11 +02:00
Maximilian 20680535ec Add options flow to NINA (#65890)
* Added options flow

* Resolve conflicts

* Fix lint

* Implement improvements
2022-06-29 09:52:21 +02:00
epenet 053c4428a9 Prettify json (component test fixtures) (#68892) 2022-03-30 11:37:17 +02:00
Maximilian d655d54a8f Added more attributes (#67135) 2022-03-29 11:34:09 +03:00
Maximilian 731f9ca7e0 Fix missing nina start value (#66869) 2022-02-23 10:45:10 -08:00
Marc Mueller ef7316d8d9 Update typing (5) [tests] (#63926) 2022-01-11 21:28:13 +01:00
Maximilian 703b689183 Address late review of nina (#61915) 2021-12-17 16:14:59 +01:00
MaximilianandMarvin Wichmann 9f7b8d3009 Add nina integration (#56647)
* Added nina integration

* Improvements implemented

* Fixed lint errors

* Added tests

* Improvements implemented

* Use client session from HA

* Added custom coordinator

* Fixed tests

* Fix pylint errors

* Library updated to 0.1.4

* Optimization of static attributes

* Removed unused code

* Switched to BinarySensorDeviceClass

* Switched to Platform Enum

* Improve repetition

* Improve repetition

* Fix corona filter

* Removed intermediate variable

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

* Fix black formatting

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-12-05 15:11:02 +01:00