Commit Graph

20 Commits (9f885a68ff7495fadc891122272223f166d2e3c7)

Author SHA1 Message Date
epenet 7b3a932cd9
Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
epenet 69a46d4002
Adjust pylint plugin for components fixtures (#90217)
* Adjust pylint plugin for components fixtures

* Adjust components

* Use MagicMock

* Adjust

* Use None
2023-03-26 15:21:19 +02:00
epenet d65dff3f9e
Adjust entity registry access in tests (2) (#88960) 2023-03-01 16:23:36 +01:00
epenet 2cdc741900
Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Álvaro Fernández Rojas 3a905f80df
Add QNAP QSW sensors for each port (#76811)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-07 10:25:38 -10:00
Álvaro Fernández Rojas 873b903cf0
Add QNAP QSW binary sensors for each port (#76522)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-27 15:34:14 -05:00
Álvaro Fernández Rojas 3dba9c4695
Add QNAP QSW accumulated port sensors (#76514)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-17 12:41:33 -06:00
epenet 7bc2712142
Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Álvaro Fernández Rojas cf867730cd
Update aioqsw to v0.2.2 (#76760) 2022-08-15 12:12:31 +02:00
Álvaro Fernández Rojas 46a8f19197
Update aioqsw to v0.2.0 (#76509) 2022-08-09 15:24:53 +02:00
Franck Nijhof 7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
Álvaro Fernández Rojas c0ea1a38a6
Fix QNAP QSW DHCP discover bugs (#74291)
qnqp_qsw: fix DHCP discover bugs

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-07-01 11:52:46 +02:00
Álvaro Fernández Rojas a58301a97d
Improve qnap_qsw firmware coordinator failures (#74288)
qnap_qsw: update: improve firmware coordinator failures

Address late comments from @MartinHjelmare (MartinHjelmare).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-07-01 09:48:59 +02:00
Álvaro Fernández Rojas 768b98ae77
Add QNAP QSW Update platform (#71019)
* qnap_qsw: add Update platform

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: update: allow init if firmware coordinator fails

QSW API can return an error if update servers aren't reachable and this
prevents the integration from loading.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: qnap_qsw: achieve 100% coverage

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-06-30 12:09:08 -07:00
Álvaro Fernández Rojas be6c2554dd
Add QNAP QSW DHCP discovery (#73130)
* qnap_qsw: add DHCP discovery

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: config_flow: add async_step_dhcp

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: config_flow: lower DHCP logging

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: qnap_qsw: fix copy & paste

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: dhcp: introduce changes suggested by @bdraco

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Update homeassistant/components/qnap_qsw/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* qnap_qsw: async_step_user: disable raising on progress

Allows async_step_user to win over a discovery.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-19 09:43:29 -05:00
Álvaro Fernández Rojas abe78b1212
Add QNAP QSW Button platform (#70980)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 19:24:29 -05:00
Álvaro Fernández Rojas a599325c2d
Add QNAP QSW Binary Sensor platform (#70868) 2022-05-09 07:44:14 -05:00
Álvaro Fernández Rojas 7b2947bad7
Add QNAP QSW diagnostics support (#70871)
* qnap_qsw: add diagnostics support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: diagnostics: several improvements

- Provide full config_entry.
- Reduce number of test asserts.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-30 23:13:35 +03:00
Álvaro Fernández Rojas 8a2b20faf0
Add new QNAP QSW integration (#70151)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-26 13:10:23 -10:00