HomeAssistant Azure
b71e28dfac
[ci skip] Translation update
2020-11-04 00:13:14 +00:00
Rob Bierbooms
bfc3d3be76
Filter rfxtrx replace devices in option flow on existing config entry ( #42800 )
...
* Fix function _can_replace_device
* Rearrange
2020-11-03 23:01:52 +01:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
b9d04b9304
[ci skip] Translation update
2020-10-30 00:02:45 +00:00
HomeAssistant Azure
ed232ac733
[ci skip] Translation update
2020-10-24 00:05:17 +00:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
HomeAssistant Azure
1a03bbda5a
[ci skip] Translation update
2020-10-18 00:03:28 +00:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
HomeAssistant Azure
39adf14079
[ci skip] Translation update
2020-10-17 00:06:00 +00:00
HomeAssistant Azure
11b812b82e
[ci skip] Translation update
2020-10-16 00:04:33 +00:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
Rob Bierbooms
c16f107f6b
Filter rfxtrx configure devices option flow on existing config entry ( #40975 )
...
* Prompt only configure devices when device is in config entry
* Fix copy
2020-10-13 13:51:42 +02:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
Paulus Schoutsen
4d5948b4d0
Use dict syntax ( #41325 )
2020-10-06 15:02:23 +02:00
HomeAssistant Azure
bcfa4ac959
[ci skip] Translation update
2020-10-06 00:08:09 +00:00
HomeAssistant Azure
8d1d585b40
[ci skip] Translation update
2020-10-05 00:04:23 +00:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00:00
Simone Chemelli
7554c8d6c5
Add missing unit for signal strength ( #40436 )
...
* Added missing unit for signal strength
* Added one more unit
* Replaced string with variable
* Fixed wrong import
* Fix import
* Replaced string with variable
* Fixed wrong import
* Apply suggestions from code review
* Black
* Again a fix :-(
* iSort
* iSort after merge
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-01 16:14:29 +02:00
Rob Bierbooms
c5041b41c8
Implement config and option flow for rfxtrx integration ( #39117 )
...
* Create option flow for Rfxtrx integration (#37982 )
* Implement config flow for rfxtrx integration (#39299 )
* Add config flow
* Add strings
* Add first series of tests
* Add tests
* Adjust tests according review comments
* Adjust strings
* Add executor for testing connection
* Change ports to dict
* Fix pylint issue
* Adjust tests
* Migrate config entry for rfxtrx integration (#39528 )
* Add rfxtrx device connection validation when importing (#39582 )
* Implement import connection validation
* Fix binary sensor tests
* Move rfxtrx data
* Fix cover tests
* Fix test init
* Fix light tests
* Fix sensor tests
* Fix switch tests
* Refactor rfxtrx test data
* Fix strings
* Fix check
* Rework device string in test code
* Add option to delete multiple rfxtrx devices (#39625 )
* Opt to remove multiple devices
* Fix devices key
* Add tests (phase 1)
* Add tests (phase 2)
* Tweak remove devices test
* Implement device migration function in rfxtrx option flow (#39694 )
* Prompt option to replace device
* Revert unwanted changes
* Add replace device function
* WIP replace entities
* Remove device/entities and update config entry
* Fix styling
* Add info
* Add test
* Fix strings
* Refactor building migration map
* Allow migration for all device types
* Add test to migrate control device
* Fixup some names
* Fixup entry names in test code
* Bump pyRFXtrx to 0.26 and deprecate debug config key (#40679 )
* Create option flow for Rfxtrx integration (#37982 )
* Implement config flow for rfxtrx integration (#39299 )
* Add config flow
* Add strings
* Add first series of tests
* Add tests
* Adjust tests according review comments
* Adjust strings
* Add executor for testing connection
* Change ports to dict
* Fix pylint issue
* Adjust tests
* Migrate config entry for rfxtrx integration (#39528 )
* Add rfxtrx device connection validation when importing (#39582 )
* Implement import connection validation
* Fix binary sensor tests
* Move rfxtrx data
* Fix cover tests
* Fix test init
* Fix light tests
* Fix sensor tests
* Fix switch tests
* Refactor rfxtrx test data
* Fix strings
* Fix check
* Rework device string in test code
* Add option to delete multiple rfxtrx devices (#39625 )
* Opt to remove multiple devices
* Fix devices key
* Add tests (phase 1)
* Add tests (phase 2)
* Tweak remove devices test
* Implement device migration function in rfxtrx option flow (#39694 )
* Prompt option to replace device
* Revert unwanted changes
* Add replace device function
* WIP replace entities
* Remove device/entities and update config entry
* Fix styling
* Add info
* Add test
* Fix strings
* Refactor building migration map
* Allow migration for all device types
* Add test to migrate control device
* Fixup some names
* Fixup entry names in test code
* Bump version number
* Remove debug key from connect
* Remove debug option from config flow
* Remove debug from tests
* Fix event test
* Add cv.deprecated
* Fix test
* Fix config schema
* Add timeout on connection
* Rework config schema
* Fix schema...again
* Prevent creation of duplicate device in rfxtrx option flow (#40656 )
2020-10-01 08:55:57 +02:00
HomeAssistant Azure
e9e17122e7
[ci skip] Translation update
2020-09-28 00:03:28 +00:00
Joakim Plate
0fbeb3bf7b
Use HA constants for Rfxtrx units ( #40562 )
...
* Add more units and device classes
* Battery level is a value beteen 0 and 9 where 9 indicate full
Actual 0 battery can't occur since since then we would get to signal
* Adjust tests
* Add wind direction and adjust rain rate
* Adjust data types to be None rather than empty string
* Set counter values to count unit
* Forgotten unit
2020-09-25 08:27:38 -04:00
Rob Bierbooms
467a001e1f
Fix error creating duplicate ConfigEntry upon import for rfxtrx ( #40296 )
2020-09-19 13:08:14 +02:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
HomeAssistant Azure
ee5c1ea3f7
[ci skip] Translation update
2020-09-12 00:05:00 +00:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
HomeAssistant Azure
5ce62c8446
[ci skip] Translation update
2020-09-02 00:03:29 +00:00
Rob Bierbooms
5658a1efec
Increase test coverage for rfxtrx integration ( #39340 )
...
* Increase switch coverage
* Increase binary sensor coverage
* Final improvements
* Remove debug statement
* Adjust test duplicate cover
* Remove None return test
* Assert on length of conf_entries
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-28 15:05:11 -05:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Martin Hjelmare
9d9426f24c
Fix missing rfxtrx strings ( #38570 )
...
* Fix missing rfxtrx strings
* Clean
2020-08-06 08:32:53 +02:00
HomeAssistant Azure
e32a57ce48
[ci skip] Translation update
2020-08-06 00:02:06 +00:00
Joakim Plate
0bcee21333
Restore rfxtrx state to off when delay off is in effect ( #38239 )
2020-07-28 01:45:41 +02:00
Joakim Plate
c93fc8af4a
Clean up commands generation for rfxtrx ( #38236 )
2020-07-28 00:44:30 +02:00
Joakim Plate
c3966a5ef2
Setup rfxtrx event listener directly ( #38298 )
2020-07-28 00:29:35 +02:00
Joakim Plate
fd11748a1a
Make rfxtrx RfyDevices have sun automation switches ( #38210 )
...
* RfyDevices have sun automation
* We must accept sun automation commands for switch
* Add test for Rfy sun automation
2020-07-25 22:56:58 +02:00
Joakim Plate
1776540757
Rfxtrx fixup config entry creation ( #38185 )
...
* Make sure import flow completely replace existing config
* Make sure added device contain correct config data
* Revert change to directly run init
2020-07-25 19:13:10 +02:00
Joakim Plate
632a36d819
Support rfxtrx smoke detectors, motion sensors as binary_sensors ( #38000 )
...
* Add binary sensor support to motion sensors and smoke detectors
* Add support for new sensor events as binary sensors
Adds a default device_class for motion sensors and smoke detector
* Use device type instead of event to set class
* Add some additional binary values
2020-07-24 17:16:41 +02:00
Joakim Plate
5d28e109e8
Asyncify rfxtrx startup and event handling ( #38155 )
...
* Asyncify startup and event handling
* Adjust linting error
* Must use the thread safe add_job function
* Switch to correct async function
2020-07-24 14:40:10 +02:00
Rob Bierbooms
c76b11f9d7
Write device_id to ConfigEntry of rfxtrx integration ( #38064 )
...
* Write device_id to ConfigEntry
* Rework based on review comment
* Add hass add job
* Cleanup
2020-07-24 11:49:48 +02:00
Rob Bierbooms
0e0f61764a
Fix updates of Rssi for control devices in rfxtrx ( #38131 )
...
* Change entity to entity_info
* Fix bug in RSSI for Control devices
2020-07-24 01:49:46 +02:00
Rob Bierbooms
83a27f4855
Fix issue with creation of PT2262 devices in rfxtrx integration ( #38074 )
2020-07-22 15:09:37 -07:00