Marc Mueller
f4b124f5f1
Fix invalid schemas ( #120450 )
2024-06-25 20:17:38 +02:00
Marc Mueller
44049c34f9
Use PEP 695 type alias for ConfigEntry types ( #117632 )
2024-05-17 15:42:58 +02:00
J. Nick Koston
00150881a5
Migrate elkm1 to use config entry runtime_data ( #117077 )
2024-05-08 23:44:39 +02:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
J. Nick Koston
da55ef7901
Fix elkm1 service calls running in the executor ( #110655 )
...
fixes
```
File "/usr/src/homeassistant/homeassistant/components/elkm1/__init__.py", line 416, in _set_time_service
_getelk(service).panel.set_time(dt_util.now())
File "/usr/local/lib/python3.11/site-packages/elkm1_lib/panel.py", line 55, in set_time
self._connection.send(rw_encode(datetime))
File "/usr/local/lib/python3.11/site-packages/elkm1_lib/connection.py", line 152, in send
self._send(QueuedWrite(msg.message, msg.response_command), priority_send)
File "/usr/local/lib/python3.11/site-packages/elkm1_lib/connection.py", line 148, in _send
self._check_write_queue.set()
File "/usr/local/lib/python3.11/asyncio/locks.py", line 192, in set
fut.set_result(True)
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 763, in call_soon
self._check_thread()
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 800, in _check_thread
raise RuntimeError(
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
```
2024-02-16 12:27:13 +01:00
Marc Mueller
7a89e58873
Use builtin TimeoutError [e-i] ( #109679 )
2024-02-05 12:00:37 +01:00
Joost Lekkerkerker
ac53b78a0c
Deduplicate constants A-D ( #105638 )
2023-12-13 14:21:44 +01:00
J. Nick Koston
d624bbbc0c
Migrate elkm1 to use a dataclass for integration data ( #99830 )
...
* Migrate elkm1 to use a dataclass for integration data
* fix unsaved
* slotted
* missing coveragerc
* Revert "missing coveragerc"
This reverts commit 3397b40309
.
2023-09-08 13:07:09 -04:00
J. Nick Koston
98ff3e233d
Fix missing name and identifiers for ELKM1 connected devices ( #99828 )
2023-09-08 13:32:21 +02:00
Marc Mueller
e2d2ec8817
Use asyncio.timeout [b-e] ( #98448 )
2023-08-15 08:30:20 -05: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
epenet
4d77c6f27f
Fix lingering timer in elkm1 ( #92517 )
2023-05-04 19:03:26 +02:00
Paulus Schoutsen
509d968814
Fix dangling task for elkm1 ( #88286 )
...
* Fix dangling task for elkm1
* Update homeassistant/components/elkm1/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-16 23:22:34 -05:00
epenet
8ab945a67f
Use unit enums in elkm1 ( #84351 )
2022-12-21 11:14:35 +01:00
J. Nick Koston
2bea77549d
Fix creating multiple ElkM1 systems with TLS 1.2 ( #81627 )
...
fixes https://github.com/home-assistant/core/issues/81516
2022-11-07 12:09:36 +01:00
epenet
a46c25d2c8
Use _attr_should_poll in components [a-g] ( #77268 )
2022-08-26 10:15:33 +02:00
Glenn Waters
9fae638f65
Migrate ElkM1 to new entity naming style ( #75023 )
2022-07-24 20:40:42 +02:00
Glenn Waters
a3d0719c49
Add binary_sensor to ElkM1 integration ( #74485 )
...
* Add binary_sensor to ElkM1 integration
* Update for review comments.
* Fix black.
* Fix pylint error.
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-11 09:11:37 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
Glenn Waters
c4763031ab
Fix elk attributes not being json serializable ( #73096 )
...
* Fix jsonifying.
* Only serialize Enums
2022-06-05 16:27:21 -10:00
J. Nick Koston
0dc12c70e3
Add logbook descriptions for elkm1 keypad press events ( #72017 )
...
* Add logbook descriptions for elkm1 keypad press events
* drop extra block
2022-05-18 08:47:02 +02:00
Glenn Waters
1492ea1fe3
Elk types 4 ( #70305 )
2022-04-19 16:45:45 -10:00
Glenn Waters
cec2a40602
ElkM1 integration adding types, part 3 ( #70214 )
...
* ElkM1 integration adding types, part 3
* Fix default _state value.
* Tweak fan get.
* change get to dict access.
2022-04-19 10:52:46 -10:00
Glenn Waters
c80853496d
Improve Elk-M1 Control typing ( #69924 )
...
* Add types to __init__.py
* Fixup typing.
* Fix type error.
* Bump lib to fix login error.
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-16 00:14:45 +03:00
J. Nick Koston
5bcb795bca
Move handling of non-secure login to the elkm1 library ( #69483 )
2022-04-06 22:32:31 -07:00
J. Nick Koston
dd6a0e3a89
Fix elkm1 connection when panel drops VN request ( #69454 )
2022-04-06 10:45:40 -07:00
J. Nick Koston
e4221336dc
Handle elkm1 login case with username and insecure login ( #67602 )
2022-03-04 14:30:40 -08:00
J. Nick Koston
00c6e30988
Fix ElkM1 systems that do not use password authentication ( #67194 )
2022-02-24 11:07:17 -08:00
J. Nick Koston
21f2c664d9
Enable dhcp flows for elkm1 registered devices ( #66583 )
2022-02-16 12:13:16 +01:00
J. Nick Koston
f943f30492
Add discovery support to elkm1 ( #65205 )
2022-02-07 16:25:26 -08:00
epenet
656d383ba6
Ensure service calls are typed [e-g] ( #62912 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
Marc Mueller
cd1b923e16
Use platform enum (2) [E-G] ( #60933 )
2021-12-04 13:26:40 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05:00
Robert Hillis
12c067970a
Use DeviceInfo Class E ( #58230 )
2021-10-23 11:44:51 +02:00
epenet
8dfa628af0
Use DeviceInfo on components with via_device (A-G) ( #58210 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:12:19 +02:00
Marc Mueller
ff853b2d53
Use assignment expressions 19 ( #57968 )
2021-10-18 15:54:38 +02:00
Tomasz
e9f6bc7364
Add missing return type to async_unload_entry and async_setup_entry ( #57115 )
2021-10-06 10:48:11 +02:00
jan iversen
9d2861afe3
Add mypy to elkm1. ( #55964 )
2021-09-09 13:14:28 +02:00
tkdrob
d1c4d0de49
Use bool annotations for setup entries ( #51166 )
2021-05-27 17:39:06 +02:00
J. Nick Koston
a67b9eff17
Reduce config entry setup/unload boilerplate D-F ( #49733 )
2021-04-26 20:46:49 -10:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
tkdrob
f46dc3c48e
Use core constants for elkm1 ( #46091 )
2021-02-09 20:20:20 +01:00
Glenn Waters
6645cb2637
Cleanup log style and tests for ElkM1 ( #42353 )
2020-10-26 10:36:28 +01:00
Glenn Waters
cc77621477
Clean up ElkM1 lib ( #42319 )
2020-10-24 23:46:22 -05:00
Glenn Waters
801168f9d7
Add ElkM1 time and counter services and keypress event ( #41867 )
2020-10-15 17:05:07 -05:00
Glenn Waters
f7d3f3a1ed
Add elkm1 bypass and trigger services ( #41584 )
2020-10-12 21:41:19 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
J. Nick Koston
97609576cb
Fix default elkm1 temp units ( #34274 )
2020-04-16 15:18:41 -07:00
J. Nick Koston
983b1e1e9d
Increase timeout and log the url of the elkm1 system that time… ( #34172 )
...
* Log the url of the elkm1 system that times out
* Bump timeout to 120s
2020-04-13 16:16:17 -07:00