Commit graph

62 commits

Author SHA1 Message Date
G Johansson
6897b24c10
Fix translations in homeworks (#129824) 2024-11-04 18:03:37 +01:00
epenet
8a4d72e3b1
Refactor duplicate host check in homeworks config flow (#128627) 2024-10-18 08:49:06 +02:00
epenet
25aea140be
Cleanup unnecessary reconfigure_confirm from config flows (#128086) 2024-10-14 12:57:15 +02:00
epenet
168d0f11ab
Do not cache the reconfigure entry in homeworks config flow (#128006) 2024-10-09 16:07:47 +02:00
epenet
c7739a7760
Align async_step_reconfigure type hints (#127450) 2024-10-03 17:54:51 +02:00
epenet
a43bfdef1d
Use _get_reconfigure_entry in homeworks (#127296) 2024-10-02 14:30:17 +02:00
epenet
3b7ae1639c
Use reconfigure_confirm in homeworks config flow (#127218)
* Use reconfigure_confirm in homeworks config flow

* Fix tests
2024-10-01 15:17:50 +02:00
epenet
219417cfb5
Move homeworks base entity to separate module (#126097)
* Move homeworks base entity to separate module

* Move calculate_unique_id to util.py
2024-09-17 16:13:40 +02:00
Erik Montnemery
cffa8b4feb
Update icons.json to new service schema part 2 (#124769) 2024-08-28 13:47:41 +02:00
Erik Montnemery
e88007af2d
Improve suggested values in homeworks config flow (#124200) 2024-08-19 12:41:47 +02:00
Erik Montnemery
d9c98316fd
Bump pyhomeworks to 1.1.2 (#124199) 2024-08-19 10:20:58 +02:00
Erik Montnemery
ab163c356f
Bump pyhomeworks to 1.1.1 (#123981) 2024-08-15 12:39:01 +02:00
Erik Montnemery
f6f7459c36
Add support for login credentials to homeworks (#122877)
* Add support for login credentials to homeworks

* Store credentials in config entry data
2024-07-31 10:35:05 +02:00
Erik Montnemery
6d8bc84db3
Allow [##:##:##:##:##] type device address in homeworks (#122872)
* Allow [##:##:##:##:##] type device address in homeworks

* Simplify regex
2024-07-31 08:02:15 +02:00
Erik Montnemery
6362ca1052
Bump pyhomeworks to 1.1.0 (#122870) 2024-07-30 21:52:25 +02:00
Erik Montnemery
94c0b9fc06
Bump pyhomeworks to 1.0.0 (#122867) 2024-07-30 19:39:53 +02:00
Erik Montnemery
fb229fcae8
Improve test coverage of the homeworks integration (#122865)
* Improve test coverage of the homeworks integration

* Revert changes from the future

* Revert changes from the future
2024-07-30 18:40:36 +02:00
Marc Mueller
6bceb8ec48
Add some more VolDictType annotations (#120610) 2024-06-26 22:44:43 +02:00
G Johansson
f06bd1b66f
Remove YAML import from homeworks (#120171) 2024-06-22 20:05:34 +02:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 (#115735) 2024-05-06 20:33:26 +02:00
Jan Bouwhuis
70b358bca1
Always reload after a successful reauth flow (#116026)
* Always reload after a succesfull reauth-flow

* Add test, fix CI failures

* Add kwarg to prevent reloading and tests

* Do not reload entry for bond if it exists

* Remove mocks on internals

* Rename kwarg to always_reload

* Update tests/components/weatherflow_cloud/test_config_flow.py

* Update tests/components/homeworks/test_config_flow.py

* Update tests/components/homeworks/test_config_flow.py

* Rename to option to reload_even_if_entry_is_unchanged
2024-04-24 15:13:33 +02:00
Erik Montnemery
764a0f29cc
Allow [##:##:##] type keypad address in homeworks (#115762)
Allow [##:##:##] type keypad address
2024-04-17 15:04:37 +02:00
Erik Montnemery
e45583b83b
Fix homeworks import flow (#115761) 2024-04-17 15:00:10 +02:00
Øyvind Matheson Wergeland
fdef3ece13
Fix placeholder quotes (#114974)
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.

* Ensure that strings does not contain placeholders in single quotes.

* Avoid redefining value

* Moved string_with_no_placeholders_in_single_quotes

* Define regex once

* Fix tests
2024-04-06 13:01:56 +02:00
Erik Montnemery
b0d1b6555d
Address late review comments on homeworks PRs (#114867) 2024-04-04 22:48:31 +02:00
Erik Montnemery
d058615961
Add service homeworks.send_command (#114059)
* Add service homeworks.send_command

* Translate exception
2024-04-03 09:10:10 +02:00
Marc Mueller
efc54971d3
Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
Erik Montnemery
2cdf6b9937
Add binary_sensor to homeworks (#112418)
* Add binary_sensor to homeworks

* Update tests
2024-03-12 19:25:27 +01:00
Erik Montnemery
d039bd654b
Add reconfigure flow to homeworks (#112419)
* Add reconfigure flow to homeworks

* Fix tests

* Use async_update_reload_and_abort helper

* Try to fix test shutdown
2024-03-12 08:47:44 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik Montnemery
a515603aaf
Add button to homeworks (#112269) 2024-03-05 19:10:13 +01:00
Erik Montnemery
32964a2e90
Add device and enable entity name for Lutron homeworks (#112268) 2024-03-04 19:50:49 +01:00
Erik Montnemery
68141873cd
Enable strict typing of homeworks (#112267) 2024-03-04 19:50:33 +01:00
Erik Montnemery
7e7f25c859
Add config flow to homeworks (#112042) 2024-03-04 19:09:39 +01:00
Erik Montnemery
899adef590
Sort manifests 4 (#87025) 2023-02-08 20:27:05 +01:00
epenet
7ee47f0f26
Adjust inheritance in homeworks (#77265) 2022-08-24 15:41:35 +02:00
epenet
20fec104e2
Improve type hints in light [a-i] (#75936)
* Improve type hints in ads light

* Improve type hints in avea light

* Improve type hints in avion light

* Improve type hints in broadlink light

* More type hints

* One more
2022-07-31 20:46:13 +02:00
epenet
ee1ac730b8
Use ColorMode enum in homeworks (#70506) 2022-04-23 09:15:40 -10:00
Erik Montnemery
1c1b792fb7
Migrate homeworks light to color_mode (#69271) 2022-04-04 18:20:48 +02:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
epenet
c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
epenet
fee95e129a
Add setup type hints [h] (#63438)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:13:11 +01:00
epenet
7f9b7c7b0e
Add light setup type hints [a-i] (#63291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +01:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity (#34593) 2020-04-26 18:49:41 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass (#33510)
* Unsub dispatcher when removing entity from hass

* Update homeassistant/components/plaato/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/volvooncall/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state (#33508)
* Directly call async_write_ha_state

* Address comments

* Fix tests
2020-04-01 14:19:51 -07:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" (#32265)
* Use f-strings in integrations starting with "H"

* Use f-strings in integrations starting with "I"

* Use f-strings in integrations starting with "J"

* Use f-strings in integrations starting with "K"

* Use f-strings in integrations starting with "L"

* Fix lint error

* Use join instead of f-string in homekit_controller

* Use local variables with f-strings

* Fix lint error

* Escape the characters in f-string

* Sort imports with isort in homeworks light

* Fix pylint error

* Fix broken tests

* Fix broken tests v2
2020-02-28 12:39:29 +01:00