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
J. Nick Koston
5a1b0edd96
Add inline comments to elkm1 about how config is updated from… ( #33361 )
2020-03-28 17:23:39 +01:00
J. Nick Koston
18a4829314
Config flow for elkm1 ( #33297 )
...
* Config flow for elkm1
* As entity ids can now be changed, the “alarm_control_panel”
attribute “changed_by_entity_id” is now “changed_by_keypad”
and will show the name of the Elk keypad instead of the entity id.
* An auto configure mode has been introduced which avoids the
need to setup the complex include and exclude filters. This
functionality still exists when configuring from yaml for power
users who want more control over which entities elkm1 generates.
* restore _has_all_unique_prefixes
* preserve legacy behavior of creating alarm_control_panels that have no linked keypads when auto_configure is False
* unroll loop
2020-03-27 15:38:35 -05:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
Raman Gupta
975ee0ea7f
Update service domain for elkm1 from 'alarm_control_panel' to 'elkm1' ( #29128 )
...
* move elkm1 services to elkm1 domain
* update missed variable references
2019-11-27 11:15:27 +01:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Diefferson Koderer Môro
ce00d06cbd
Move imports in elkm1 component ( #27982 )
2019-10-20 23:37:52 +02:00
Franck Nijhof
fa79ef1220
Use literal string interpolation in integrations E-G (f-strings) ( #26379 )
2019-09-03 17:10:56 +02:00