Commit graph

223 commits

Author SHA1 Message Date
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Maikel Punie
9bd73ab362
Bump velbusaio to 2023.11.0 (#103798) 2023-11-13 13:53:49 +01:00
Maikel Punie
c7d7ce457c
Bump velbusaio to 2023.10.2 (#102919) 2023-10-27 16:15:16 +00:00
Marc Mueller
27ac2ceae3
Fix velbus import (#102780) 2023-10-25 23:09:36 +02:00
Maikel Punie
2531b0bc09
Bump velbusaio to 2023.10.1 (#102178) 2023-10-18 22:00:55 +02:00
Maikel Punie
4913e7e846
Correct sensor state attribute and device class in Velbus sensors (#102099) 2023-10-16 14:23:43 +02:00
Maikel Punie
79811e3cd9
Bump velbusaio to 2023.10.0 (#102100) 2023-10-16 14:22:01 +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
Maikel Punie
0535578440
Velbus code cleanup (#97584)
* Some cleanup and code improvements for the velbus integration

* Comments

* More comments

* Update homeassistant/components/velbus/entity.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* More comments

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-06 19:12:19 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
4edec69637
Migrate integration services (T-V) to support translations (#96379) 2023-07-12 07:37:13 +02:00
Erik Montnemery
0dbdfb7e70
Drop call to usb.get_serial_by_id from velbus config flow (#94276) 2023-06-08 19:21:19 +02:00
Erik Montnemery
3467f4674e
Remove unnecessary calls to async_update_entry from async_migrate_entry (#90575) 2023-03-31 15:53:35 +02:00
Maikel Punie
0eb409cff1
Add support for select entities in velbus (#87568)
* Add support for select entities in velbus

* Implement comments

* EntityCategory is now in homeassistant.const

* more comments
2023-03-28 08:01:31 -04:00
epenet
485a78e0cf
Improve light type hints in integrations (#90035)
* Improve light type hints in integrations

* Improve
2023-03-21 11:40:33 +01:00
epenet
b3d6f098d2
Adjust entity registry access in integrations (1) (#88946) 2023-03-01 08:02:34 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Maikel Punie
815ee58ea3
Bump velbus-aio to 2023.2.0 (#87562)
Bump valbusaio to 2023.2.0
2023-02-06 13:12:57 -05:00
Maikel Punie
e1a3d61870
Velbus raise PlatformNotReady exception (#87526) 2023-02-06 17:21:53 +01:00
Maikel Punie
a11a43bb09
Add the correct loggers to velbus manifest.json (#87488) 2023-02-06 17:11:21 +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
71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
Maikel Punie
fdf2f8a2ea
Bump velbus-aio to 2022.12.0 (#83278)
* Add support for fututre config entry migrations

* Add testcase

* dir check bug

* rework the migrate testcase

* implement comments

* Missed this part of the file

* Fix and clean tests

* add more into the testcase

* push sugestions

* Upgrade velbusaio to add version 2 support

* more comments

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-01 12:28:31 +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
Maikel Punie
1011c30cc5
Small fix for the velbus clear-cache service (#83279) 2022-12-05 17:12:27 +01:00
epenet
c7a6b5983f
Use UnitOfTemperature in climate entities [t-z] (#83129) 2022-12-05 10:18:57 +01:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00: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
Maikel Punie
3eea61361c
Clean up velbus cache folder only on removal of the config entry (#81031) 2022-10-26 17:42:15 +02:00
Maikel Punie
33ef2abf9e
Add a new clear cache service to the velbus integration (#79995) 2022-10-26 16:44:24 +02:00
Maikel Punie
458f3d4d13
Use a unique cache folder per Velbus config entry (#79792) 2022-10-26 13:53:41 +02:00
niobos
8e196fbe06
Add Velbus cover opening/closing (#79851)
* Velbus cover/blind: indicate opening/closing

* Add docstrings because flake8 requirement

Co-authored-by: Niels Laukens <niels@dest-unreach.be>
2022-10-26 08:03:53 +02:00
Maikel Punie
f85a2fb57a
Add integration_type to the velbus component (#80924) 2022-10-25 09:13:36 +02:00
niobos
8a80ea2ed8
Bump velbus-aio to 2022.10.4 (#80510)
Co-authored-by: Niels Laukens <niels@dest-unreach.be>
2022-10-18 18:03:30 +02:00
Maikel Punie
a18a0b39dd
Bumb velbusaio to 2022.10.3 (#79821)
* Bumb velbusaio to 2022.10.3

* Handle the possibility that get_cover position is None (unknown) in previous versions this was always 0
2022-10-07 22:00:01 +03:00
Maikel Punie
0eb1101de8
Velbus split of entity in its own file (#79653)
* Velbus split of entity in its own file

* Update coveragerc
2022-10-05 17:03:23 +02:00
Maikel Punie
40bdcc3ea7
Bump velbusaio to 2022.10.2 (#79537) 2022-10-03 16:17:08 +02:00
Maikel Punie
cb909b4b05
Bumb velbusaio to 2022.10.1 (#79471) 2022-10-03 11:44:20 +02:00
Maikel Punie
a495df9759
Fix velbus matching ignored entries in config flow (#78999)
* Fix bug #fix78826

* start using async_abort_entries_match

* fix/rewrite tests
2022-09-23 23:11:06 +02:00
epenet
6affd9c6fb
Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
Maikel Punie
c528a2d2cd
Bump velbus-aio to 2022.9.1 (#78039)
Bump velbusaio to 2022.9.1
2022-09-08 20:28:40 +02:00
epenet
e2568d8375
Import climate constants from root [m-z] (#78020) 2022-09-08 10:34:44 +02:00
GitHub Action
bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action
cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Maikel Punie
040ece76ab
Add velbus buttons platform (#73323) 2022-06-28 18:41:29 +02:00
Maikel Punie
b3677cdff6
Bump velbus-aio version to 2022.6.1 (#73261) 2022-06-09 12:26:20 +02:00