Commit graph

45 commits

Author SHA1 Message Date
Joost Lekkerkerker
bc1575a477
Move variables out of constructor in Nobo hub (#99617) 2023-09-04 22:18:36 +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
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
Joost Lekkerkerker
e0274ec854
Use device class naming for nobo hub v2 (#96022) 2023-07-08 11:39:53 +02:00
Joost Lekkerkerker
4ee7ea3cba
Use DeviceInfo object for Nobo hub (#95753) 2023-07-03 14:01:58 +02:00
Ville Skyttä
2e59ae9e90
Import util.dt as dt_util in components/[k-o]* (#93760) 2023-05-29 23:02:14 +02:00
epenet
f69d76702a
Adjust entity registry access in integrations (2) (#88947) 2023-03-01 08:02:51 +01: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
epenet
bb3e0633a4
Add init return type to integrations (#87523)
Add type hints to integrations
2023-02-06 11:37:25 +01:00
GitHub Action
59ad232ce5 [ci skip] Translation update 2023-01-20 00:25:31 +00:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
epenet
d60fe7e7cd
Use UnitOfTemperature in integrations (n-o) (#84306) 2022-12-20 18:39:09 +01:00
Øyvind Matheson Wergeland
c7d1402320
Fix nobo_hub HVAC mode (#83947) 2022-12-13 23:21:10 -07:00
GitHub Action
f19a1147fe [ci skip] Translation update 2022-12-11 00:26:24 +00:00
GitHub Action
1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00: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
GitHub Action
03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +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
b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action
0be2a3f182 [ci skip] Translation update 2022-11-22 00:26:32 +00:00
GitHub Action
fc472eb040 [ci skip] Translation update 2022-11-06 00:27:15 +00:00
Øyvind Matheson Wergeland
712b984833
Support Nobø Switch as temperature sensor (#78480)
* Expose Nobø Switch as temperatur sensor.

* - Review
- Hub may report current temperature as None

* Avoid update during entity addition, and fix race condition

* Update pynobo to 1.6.0
Use new method to fix potential race condition.

* Use generator expressions
2022-10-24 01:55:22 +02:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
Øyvind Matheson Wergeland
b0ef1e3315
Fix nobo_hub presenting temperature in zone with one decimal (#79743)
Fix presenting temperature in zone with one decimal.
Fix stepping the target temperatur without decimals.
2022-10-13 11:40:47 +02:00
GitHub Action
8d28da83ca [ci skip] Translation update 2022-10-05 00:36:50 +00:00
GitHub Action
39ddc37d76 [ci skip] Translation update 2022-09-26 00:30:11 +00:00
GitHub Action
d7eb277bc8 [ci skip] Translation update 2022-09-21 00:32:35 +00:00
GitHub Action
4b2bea4972 [ci skip] Translation update 2022-09-20 00:30:13 +00:00
GitHub Action
ec258410c5 [ci skip] Translation update 2022-09-16 00:29:29 +00:00
GitHub Action
bcf01e8873 [ci skip] Translation update 2022-09-15 00:29:28 +00:00
GitHub Action
23faf8024e [ci skip] Translation update 2022-09-14 00:28:24 +00:00
GitHub Action
955f3b7083 [ci skip] Translation update 2022-09-13 00:29:19 +00:00
epenet
6affd9c6fb
Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
GitHub Action
718d4ac6cc [ci skip] Translation update 2022-09-09 00:28:55 +00:00
GitHub Action
ea26c0bf77 [ci skip] Translation update 2022-09-08 00:27:38 +00:00
GitHub Action
4f7ad27b65 [ci skip] Translation update 2022-09-07 00:27:56 +00:00
GitHub Action
5c30b33ee2 [ci skip] Translation update 2022-09-06 00:27:55 +00:00
GitHub Action
c5100d2895 [ci skip] Translation update 2022-09-05 00:31:16 +00:00
GitHub Action
6921583410 [ci skip] Translation update 2022-09-04 00:28:06 +00:00
Øyvind Matheson Wergeland
f52c00a1c1
Add Nobø Ecohub integration (#50913)
* Initial version of Nobø Ecohub.

* Options update listener for Nobø Ecohub

* Unit test for nobo_hub config flow

* Cleanup

* Moved comment re backwards compatibility

* Improved tests

* Improved tests

* Options flow test
Pylint

* Fix backwards compatibility mode

* Don't require Python 3.9

* Import form configuration.yaml

* Check if device is already configured.
Correct tests for only discovering serial prefix
Fix importing when only serial suffix is configured

* Use constants

* Pylint and variable name clenaup.

* Review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Fix tests

* Correct disabling off_command and on_commands ("Default" is a hard coded week profile in the hub).

* Improve options dialog

* Configure override type in options dialog

* Formatting

* pyupgrade

* Incorporated review comments

* Incorporated review comments.

* Incorporated second round of review comments.

* Add polling to discover preset change in HVAC_MODE_AUTO.

* Added tests/components/nobo_hub to CODEOWNERS.

* Update homeassistant/components/nobo_hub/config_flow.py

Review

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Update homeassistant/components/nobo_hub/climate.py

Review

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Simplify if tests.

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Separate config step for manual configuration.

* Fixed indentation

* Made async_set_temperature more robust

* Thermometer supports tenths even though thermostat is in ones.

* Preserve serial suffix in config dialog on error.

* Initial version of Nobø Ecohub.

* Improved tests

* Review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Configure override type in options dialog

* Separate config step for manual configuration.

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Formatting (prettier)

* Fix HA stop listener.

* Review

* Apply suggestions from code review

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

* Review
- Removed workaround to support "OFF" setting.
- Simplified config flow to add a new device.

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Fixed review comments

* Update en.json with correction in review.

* Implemented review comments:
- Register devices
- Simplifed async_set_temperature

* Register hub as device in init module

* Implemented review comments.
Upgraded pynobo to 1.4.0.

* Apply suggestions from code review

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

* Avoid tacking on the device name in the entity name

* Inherit entity name from device name

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-03 10:11:40 +02:00