epenet
f11cdb4ab4
Move rfxtrx base entity to separate module ( #126521 )
2024-09-23 13:37:52 +02:00
Jan-Philipp Benecke
adcb541b4b
Use debug/warning instead of info log level in components [r] ( #126140 )
2024-09-17 19:45:05 +02:00
Marc Mueller
26a599ad11
Use PEP 695 for function annotations (1) ( #117658 )
2024-05-18 11:45:54 +02:00
Sid
3799d20d43
Enable Ruff B905 ( #114197 )
2024-04-14 00:14:26 -05:00
J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
J. Nick Koston
266e4f0c8b
Migrate rfxtrx to use run_immediately=True for the device registry listener ( #115165 )
2024-04-08 08:29:27 -10:00
J. Nick Koston
fb98a6f026
Make run_immediately the default for core EventBus listeners ( #113752 )
...
* DNM: Make run_immediately the default for listeners
This is a test to see how much progress we have made twords this goal
https://github.com/home-assistant/core/pull/113727#issuecomment-2004587947
* fix shutdown
* Revert "fix shutdown"
This reverts commit a8969d7db9
.
* set false since it break utility meter tests
* one more
* fix rfxtrx test
* test needs to be explict now
* fix matrix
* fail sooner
2024-04-05 22:14:20 -04:00
Marc Mueller
efde8400e2
Improve generic event typing [rfxtrx] ( #114733 )
2024-04-04 12:08:37 +02:00
Marc Mueller
a033574ee2
Add empty line after module docstring [r] ( #112703 )
2024-03-08 15:05:07 +01:00
Joakim Plate
13653be09b
Add event platform to rfxtrx ( #111526 )
2024-03-03 17:15:54 +01:00
Joakim Plate
a55c56a207
Update rfxtrx library to handle connection retries ( #111366 )
...
Upgrade rfxtrx library to one that leaves reconnection to home assistant and handle loss of connection by reloading the integration.
https://github.com/Danielhiversen/pyRFXtrx/releases/tag/0.31.0
2024-02-26 19:30:22 +01:00
Marc Mueller
438d3b01b9
Use builtin TimeoutError [o-s] ( #109682 )
2024-02-05 12:14:37 +01:00
Jan-Philipp Benecke
28281523ec
Add pylint plugin to check for sorted platforms list ( #108115 )
2024-01-16 09:47:53 +01:00
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
Marc Mueller
8d0ce6ead6
Improve rfxtrx typing ( #105966 )
2023-12-18 13:23:30 +01:00
Marc Mueller
063ce9159d
Use asyncio.timeout [o-s] ( #98451 )
2023-08-15 17:21:49 +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
Joost Lekkerkerker
9cf691abdb
Fix explicit device naming for integrations m-r ( #95620 )
...
Fix explicit device naming for m-r
2023-06-30 11:34:35 -04:00
Franck Nijhof
c3936e6f14
Replace isort with ruff ( #94302 )
2023-06-08 23:43:56 +02:00
Joakim Plate
7f2b7340b9
Validate length of rfxtrx identifier ( #85352 )
2023-01-07 10:52:46 +01:00
Joakim Plate
dfca3c2448
Correct memory leak for rfxtrx lighting4 devices ( #85354 )
2023-01-07 10:52:05 +01:00
Franck Nijhof
94755a5773
String formatting and max line length - Part 4 ( #84445 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 13:27:27 +01:00
Marc Mueller
9c62c55f42
Fix rfxtrx typing ( #79125 )
2022-09-27 00:32:32 +02:00
Joakim Plate
ace9592aa1
Enable strict typing for rfxtrx ( #74927 )
...
* Additional typing
* Enable strict typing
* Avoid changes causing coverage change
* Adjust comment on force update
* Rename to replace_devices
* Reduce typing scope
* Adjust mypy
2022-09-23 16:47:58 +02:00
Joakim Plate
ee4749b207
Change more properties to attributes for rfxtrx ( #74880 )
...
* Move more properties to attributes
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Convert states to attributes
* Adjustments from review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-07-11 16:21:26 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
Joakim Plate
3a5cca3ff2
Convert rfxtrx to entity naming ( #74720 )
2022-07-09 17:15:08 +02:00
Franck Nijhof
c3d19f3827
Clean up accessing device_registry helpers via hass ( #72031 )
2022-05-17 12:22:15 -07:00
Franck Nijhof
c8f700c803
Clean up accessing dispatcher helpers via hass ( #72014 )
...
Clean up accessing ditpatcher helpers via hass
2022-05-17 18:41:36 +02:00
Franck Nijhof
15cffbe496
Clean up async_dispatcher_connect helper usage ( #68613 )
2022-03-24 13:19:11 +01:00
Joakim Plate
09a85d2a5d
Add basic rfxtrx diagnostics ( #67671 )
...
* Add basic rfxtrx diagnostics
* Skip diagnostics for coverage
2022-03-11 20:27:08 -08:00
Joakim Plate
e8c05298ba
Remove rfxtrx signal repetition ( #67675 )
2022-03-06 10:29:20 +01:00
Joakim Plate
a151d3f9a0
Don't trigger device removal for non rfxtrx devices ( #67315 )
2022-02-27 00:14:12 +01:00
Joakim Plate
01fa6e7513
Eliminate extra include ( #67316 )
2022-02-27 00:13:48 +01:00
James Hewitt
069e70ff03
Add mode setting to RFXtrx device configuration ( #67173 )
...
This allows users to configure the modes on their RFXtrx device without
downloading additional software that only runs on Windows. It also
enables the use of modes that cannot be permanently enabled on the
device, such as for undecoded and raw messages.
2022-02-25 20:43:29 +01:00
Joakim Plate
8a74295d6f
Add support for rfxtrx sirens and chimes ( #66416 )
...
* Add support for sirens and chimes
* Fixup testing
* Fixup comments
* Hook up existing off delay
* Add docs for off delay.
* Rename mixin
2022-02-25 07:53:22 +01:00
Joakim Plate
9906717e33
Use opt in device removal for rfxtrx ( #58252 )
2022-02-23 20:17:48 +01:00
epenet
250379e181
Add setup type hints (init) ( #64351 )
...
* Add setup type hints to acmeda
* Add setup type hints to xiaomi_aqara
* Add setup type hints to motion_blinds
* Add setup type hints to xiaomi_miio
* Add setup type hints to diagnostics
* Add setup type hints to zha
* Add setup type hints to firmata
* Add setup type hints to denonavr
* Add setup type hints to rfxtrx
* Add setup type hints to hue
* Cleanup denonavr
* Add return types to xiaomi_miio
* Fix return type
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-19 18:00:34 +01:00
epenet
a19c95e4bd
Ensure service calls are typed [o-r] ( #62920 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 13:10:17 +01:00
Joakim Plate
bda1f02371
Reduce boilerplate code in entry init of rfxtrx ( #58844 )
...
* Reduce boilerplate code for rfxtrx
* Use rfxtrx built in to construct event
* Fixup mypy after rebase
* Also fix callable import
2021-12-22 22:38:55 +01:00
Joakim Plate
ea3e08c041
Improve type checking for rfxtrx ( #58837 )
2021-12-09 13:35:53 -08:00
Marc Mueller
79cd281c48
Use platform enum (5) [P-R] ( #60943 )
2021-12-04 13:19:49 +01:00
Joakim Plate
f0b3fbc5a7
Always fire event for known devices in rfxtrx ( #58845 )
2021-11-16 19:03:18 +01:00
Marc Mueller
b6d9e517c2
Use assignment expressions 37 ( #58827 )
2021-10-31 18:45:27 +01:00
Robert Hillis
7ccfaed736
Use DeviceInfo Class P-R ( #58324 )
2021-10-25 18:26:03 +02:00
Joakim Plate
a8cbb949fa
Rfxtrx drop yaml configuration ( #54173 )
2021-09-08 22:17:02 -07:00
Joakim Plate
13e7cd237e
Convert to using sensor descriptors ( #54115 )
2021-08-06 09:56:51 -07:00
Børge Nordli
87165d6133
Support group events for AC switches and binary sensors. Fixes #53065 . ( #53384 )
...
* Support group events for AC switches and binary sensors. Fixes #53065 .
* Review comments
2021-07-23 18:45:31 +02:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants ( #53243 )
2021-07-20 20:06:23 +02:00
J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S ( #49778 )
2021-04-27 22:10:04 +02:00