Commit graph

216 commits

Author SHA1 Message Date
J. Nick Koston
b6b178cac0
Fix nexia emergency heat migration (#129365) 2024-10-30 12:20:19 +01:00
Joost Lekkerkerker
308f25fe4c
Migrate Nexia unique id to str (#126911) 2024-09-27 14:35:08 +02:00
c0ffeeca7
866ffcf639
Use bold to markup UI strings (#126748)
* Use bold to markup UI strings

* Use bold to markup UI strings
2024-09-25 15:33:23 +02:00
Erik Montnemery
c638537731
Use 'select' instead of 'click' or 'press' when guiding users in flows (#126731) 2024-09-25 13:37:43 +02:00
G Johansson
2ef37f01b1
Deprecate aux_heat from Nexia climate entity, implement switch (#125250)
* Remove deprecated aux_heat from nexia

* Add back aux_heat

* Raise issue
2024-09-08 14:23:24 +02:00
Erik Montnemery
1a2d013c97
Update icons.json to new service schema part 3 (#124770) 2024-08-28 13:48:01 +02:00
epenet
913e5404da
Improve config flow type hints (part 1) (#124343)
* Improve config flow type hints

* Revert sms
2024-08-21 22:42:58 +02:00
Michael
844ccf461f
Remove unnecessary config schema definitions (#123197) 2024-08-05 17:44:14 +02:00
J. Nick Koston
6f15352eda
Convert nexia to use entry.runtime_data (#121640) 2024-07-10 08:35:13 +02:00
Marc Mueller
3a5acd6a57
Use VolDictType for service schemas (#120403) 2024-06-25 12:33:41 +02:00
J. Nick Koston
8b6fbd5b3f
Fix climate on/off in nexia (#119254) 2024-06-10 08:17:29 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Marc Mueller
81c34ac952
Fix spelling [docstrings + comments] (#114168) 2024-03-25 11:33:00 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Joost Lekkerkerker
f02e60533d
Add icon translations to Nexia (#111980)
* Add icon translations to Nexia

* Add icon translations to Nexia
2024-03-03 14:08:33 +01:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
J. Nick Koston
9b9700c75f
Import nexia in the executor to avoid blocking the event loop (#111694)
2024-02-27 22:54:18.638 DEBUG (MainThread) [homeassistant.loader] Importing platform nexia.config_flow took 1.84s (loaded_executor=False)
2024-02-28 15:37:10 +01:00
Marc Mueller
a9147cf3dd
Use builtin TimeoutError [k-n] (#109681) 2024-02-05 12:08:18 +01:00
G Johansson
ae210886c1
Add migrated climate feature flags to nexia (#109472) 2024-02-03 03:26:17 +01:00
G Johansson
8f9969131b
Add TURN_ON/OFF ClimateEntityFeature for Nexia (#108970)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-01-30 18:13:08 +01:00
J. Nick Koston
b6dfa1fa7c
Bump nexia to 2.0.8 (#107835) 2024-01-12 09:32:38 +01:00
Joost Lekkerkerker
097c7fbfef
Add entity translations to Nexia (#98803) 2023-08-22 07:41:15 -05:00
Benjamin Paul [MSFT]
5965918c86
Add Fan Speed number entity to Nexia (#98642)
* Add Fan Speed support to Nexia integration

Adds a new "set_fan_speed" service to the Nexia integration, to allow
setting speed of the air-handler/blower fans.

* Add Fan Speed to Nexia Tests

* Remove mistakenly-added changes to Climate tests

A previous version of this change made modifications to the base
Climate entity, but that approach was later abandonded. These changes
to Climate tests were left over from that, and should never have been
included.

* Add Fan Speed Number Entity

* Remove Set Fan Speed Service

* Remove fan_speed attribute

The fan_speed attribute is not necessary with the new Number entity.

* Address reviewer feedback

Rename test function to reflect fact that fan speed entities are
entities, and not sensors.
Added missing typing to variables.
Sorted list of platforms

* Add test_set_fan_speed

Also adds new test fixture for mock response to API call

* Update homeassistant/components/nexia/number.py

* Name change

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-19 16:42:13 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
J. Nick Koston
0a56361ca4
Disable always_update in nexia coordinator (#97436) 2023-07-28 17:46:26 -05:00
J. Nick Koston
c11222c1d0
Bump nexia to 2.0.7 (#97432) 2023-07-28 16:37:08 -05:00
Franck Nijhof
90d839724c
Migrate integration services (N-P) to support translations (#96376) 2023-07-12 00:33:37 +02:00
J. Nick Koston
61e57872c3
Fix not retrying on connection reset during nexia config entry setup (#93576)
* Fix not retrying on connection reset during nexia config entry setup

fixes
```
2023-05-26 00:15:39.129 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Alexander for nexia
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 558, in _request
    resp = await req.send(conn)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 670, in send
    await writer.write_headers(status_line, self.headers)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/http_writer.py", line 130, in write_headers
    self._write(buf)
  File "/usr/local/lib/python3.11/site-packages/aiohttp/http_writer.py", line 75, in _write
    raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/nexia/__init__.py", line 47, in async_setup_entry
    await nexia_home.login()
  File "/usr/local/lib/python3.11/site-packages/nexia/home.py", line 385, in login
    request = await self.post_url(self.API_MOBILE_ACCOUNTS_SIGN_IN_URL, payload)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/nexia/home.py", line 157, in post_url
    response: aiohttp.ClientResponse = await self.session.post(
                                       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 572, in _request
    raise ClientOSError(*exc.args) from exc
aiohttp.client_exceptions.ClientOSError: Cannot write to closing transport
```

* coverage
2023-05-25 21:52:44 -04:00
Erik Montnemery
1450b44c63
Sort manifests 7 (#87028) 2023-02-08 20:32:43 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
GitHub Action
b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
Marc Mueller
1de41ab123
Improve DataUpdateCoordinator typing in integrations (1) (#84655) 2022-12-27 22:44:25 +01:00
epenet
af7a487706
Use unit enums in nexia (#84349) 2022-12-21 11:13:16 +01:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
epenet
8b867d612f
Use UnitOfTemperature in climate entities [m-s] (#83131) 2022-12-02 19:56:18 +01:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action
3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
epenet
ba546e1072
Use _attr_supported_features in nexia climate (#82218) 2022-11-16 13:47:58 -06:00
J. Nick Koston
7ce6600f69
Fix missing await in nexia emergency heat (#82207)
fixes undefined
2022-11-16 19:02:09 +01:00
GitHub Action
dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
J. Nick Koston
b313f37946
Bump nexia to 2.0.6 (#81474)
* Bump nexia to 2.0.6

- Marks thermostat unavailable when it is offline

* is property
2022-11-05 15:55:43 +01:00
J. Nick Koston
44e368ad55
Bump nexia to 2.0.5 (#81061)
fixes #80988
2022-10-27 07:38:03 +02:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
J. Nick Koston
5b6e46e7b7
Fix nexia permanent hold when cool and heat temps are within 2 degrees (#80297) 2022-10-13 20:53:09 -04:00
epenet
e2568d8375
Import climate constants from root [m-z] (#78020) 2022-09-08 10:34:44 +02:00