Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com >
2021-04-29 23:12:58 +02:00
Paulus Schoutsen
f5e4b13814
Add auto_off to binary sensor template entity ( #49615 )
2021-04-29 09:25:34 -07:00
jan iversen
760caeed85
Complete modbus device response tests ( #49633 )
...
* Prepare test harness for new pymodbus return types.
Use pytest.fixture to mock pymodbus.
Use pytest.fixture to load modbus using mocked pymodbus
Add test of Exception/IllegalResponse/ExceptionResponse from pymodbus.
* Modbus.py is back at 100% test coverage.
* Added assert mock.called.
* add mock reset.
2021-04-29 18:06:56 +02:00
Maciej Bieniek
0379dee47e
Fix host_valid() logic in Vilfo config flow ( #49862 )
2021-04-29 17:11:22 +02:00
Raman Gupta
4a95f6c2a3
Improve Google Travel Time import and naming logic ( #49839 )
2021-04-29 17:10:03 +02:00
Maciej Bieniek
61991572d7
Fix host_valid() logic in DuneHD config flow ( #49860 )
2021-04-29 17:05:09 +02:00
Maciej Bieniek
3210c086ef
Improve type annotations for the Brother integration ( #49771 )
2021-04-29 16:59:31 +02:00
Maciej Bieniek
9588e0d35a
Fix host_valid() logic in BraviaTV config flow ( #49857 )
2021-04-29 16:09:59 +02:00
Ruslan Sayfutdinov
02764c2f46
Disable strict type checks for tests ( #49851 )
2021-04-29 15:57:02 +02:00
Raman Gupta
6f36fcc427
Improve Waze Travel Time import and naming logic ( #49838 )
2021-04-29 15:49:16 +02:00
Erik Montnemery
bf57c77d5c
Add color_mode to demo light ( #49694 )
...
* Update demo light with color mode support
* Add rgbw and rgbww color properties
* Update demo light
* Tweak
* Remove unneeded _clear_colors
2021-04-29 10:45:17 +02:00
Mike Keesey
1c0fd61075
Remove references to hass.data in harmony tests ( #49836 )
...
Instead, just use the mocks directly.
2021-04-28 18:27:57 -10:00
Robert Svensson
056f636568
Add tampering sensor to deCONZ integration ( #49776 )
2021-04-28 20:16:06 +02:00
jjlawren
8c311cbaa0
Handle special Plex library sections ( #49525 )
2021-04-28 19:58:05 +02:00
Robert Svensson
5e07ab17b2
Add support for deCONZ alarm events in logbook ( #49652 )
...
* Add support for alarm events in logbook
* Update homeassistant/components/deconz/alarm_control_panel.py
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com >
2021-04-28 19:46:15 +02:00
Joakim Sørensen
296dc9303f
Add OS version and board type to analytics ( #49725 )
2021-04-28 19:13:09 +02:00
Robert Svensson
311e0e4185
Last minute tweaks to deCONZ alarm panel entity service( #49819 )
...
Text for entry and exit delay was wrong
Remove functions that need a bit more investigating
2021-04-28 18:54:53 +02:00
Chris
e85d58c3a1
Fix white_value causing zwave-js to set non-existing values ( #49799 )
2021-04-28 09:23:48 -07:00
Raman Gupta
795fe18a90
Add additional zwave_js WS API commands for nodes ( #49509 )
...
* Add zwave_js WS API commands for node.refresh_values and node.refresh_cc_values
* remove guard since API will be used by frontend
* add missing validation
* use get in case node ID is wrong
* use decorator
* add additional coverage
2021-04-28 10:22:18 -04:00
Erik Montnemery
e96cbccc92
Improve color conversion for RGBWW lights ( #49807 )
2021-04-28 15:46:41 +02:00
Martin Hjelmare
9e1042d9e0
Fix zwave_js flow set add-on options ( #49813 )
...
* Fix zwave_js flow set add-on options
* Improve and deduplicate error messages
* Add more call assertions
* Add final missing call assertion
2021-04-28 15:09:39 +02:00
J. Nick Koston
3f547e58d7
Fix zeroconf test inadvertently matching strings that start with name ( #49578 )
...
* Fix zeroconf test inadvertently matching strings that start with name
* adjust
* adjust
2021-04-28 11:47:36 +02:00
J. Nick Koston
dcb5b9f8b5
Bump httpx to 0.18.0 and respx to 0.17.0 ( #49805 )
2021-04-28 11:22:09 +02:00
Raman Gupta
1cb907c2e3
Add zwave_js discovery schema for Vision Security ZL7432 ( #49510 )
...
* Add zwave_js discovery schema for Vision Security ZL7432
* add tests
* fix test
* add correct fixture
* Make discussed changes
* fix tests
* move event handler
* fix logic to get entity ID
* add test
* make discovery test more explicit
* remove domain from event data
* always provide entity_id key to make automations easier and translate value if possible
* formatting
* comment
* dont overwrite value
2021-04-28 10:22:54 +02:00
Erik Montnemery
d7247c2ace
Correct conversion of RGB and XY colors to RGBW ( #49802 )
2021-04-28 10:12:20 +02:00
Alexei Chetroi
345873f94f
Don't bind all clusters unconditionally ( #49793 )
2021-04-27 20:25:34 -04:00
Franck Nijhof
89e7983ee0
Add Blueprint foundation to Scripts ( #48621 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2021-04-27 15:15:38 -07:00
Dermot Duffy
3fda66d9e2
Change motionEye to use a two item device identifier tuple ( #49774 )
...
* Change to a two item device identifier tuple.
* Don't use join.
2021-04-27 23:48:27 +02:00
Maciej Bieniek
513685bbea
Add dynamic update interval to Airly integration ( #47505 )
...
* Add dynamic update interval
* Update tests
* Improve tests
* Improve comments
* Add MAX_UPDATE_INTERVAL
* Suggested change
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Use async_fire_time_changed to test update interval
* Fix test_update_interval
* Patch dt_util in airly integration
* Cleaning
* Use total_seconds instead of seconds
* Fix update interval test
* Refactor update interval test
* Don't create new context manager
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-04-27 23:34:53 +02:00
Tom Toor
a57761103c
Mutesync integration ( #49679 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
Co-authored-by: Franck Nijhof <git@frenck.dev >
2021-04-27 13:44:59 -07:00
J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S ( #49778 )
2021-04-27 22:10:04 +02:00
Erik Montnemery
d2fd504442
Limit precision when stringifying float states ( #48822 )
...
* Limit precision when stringifying float states
* Add test
* Fix typing
* Move StateType
* Update
* Move conversion to entity helper
* Address review comments
* Tweak precision
* Tweak
* Make _stringify_state an instance method
2021-04-27 21:48:24 +02:00
Ben
ebbcfb1bc7
Fix and upgrade surepetcare ( #49223 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-04-27 20:58:52 +02:00
J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P ( #49777 )
2021-04-27 20:42:21 +02:00
Erik Montnemery
fdadacd158
Improve color conversion for RGBW lights ( #49764 )
2021-04-27 20:07:55 +02:00
Erik Montnemery
ce64690817
Make number of stored traces configurable ( #49728 )
2021-04-27 10:27:12 -07:00
J. Nick Koston
b10534359b
Reduce config entry setup/unload boilerplate K-M ( #49775 )
2021-04-27 18:49:13 +02:00
David F. Mulcahey
a644c2e8ba
Add alarm control panel support to ZHA ( #49080 )
...
* start implementation of IAS ACE
* starting alarm control panel
* enums
* use new enums from zigpy
* fix import
* write state
* fix registries after rebase
* remove extra line
* cleanup
* fix deprecation warning
* updates to catch up with codebase evolution
* minor updates
* cleanup
* implement more ias ace functionality
* cleanup
* make config helper work for supplied section
* connect to configuration
* use ha async_create_task
* add some tests
* remove unused restore method
* update tests
* add tests from panel POV
* dynamically include alarm control panel config
* fix import
Co-authored-by: Alexei Chetroi <lexoid@gmail.com >
2021-04-27 10:58:59 -04:00
jjlawren
d4ed65e0f5
Add power binary_sensor support to Sonos ( #49730 )
...
* Add power binary_sensor support to Sonos
* Prepare for future unloading of config entries
* Remove unnecessary calls to super() inits
* Add binary_sensor to tests, remove invalid test for empty battery payload
* Move sensor added_to_hass to common sensor class
* Avoid dispatching sensors if no battery
* Use proper attributes property
* Remove power source fallback
* Update homeassistant/components/sonos/speaker.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-04-27 04:52:05 -10:00
J. Nick Koston
a1fdf84dba
Reduce config entry setup/unload boilerplate G-J ( #49737 )
2021-04-27 16:09:59 +02:00
tkdrob
664075962f
Clean up profiler constants ( #49752 )
2021-04-27 10:04:45 -04:00
David F. Mulcahey
b91d2be00b
Better ZHA device reconfiguration ( #49672 )
...
* initial take
* cleanup
* fix mock for configure_reporting
2021-04-27 10:04:22 -04:00
Bram Kragten
b00ccf98f0
TP Link: Don't report HS when in CT mode ( #49704 )
...
* TP Link: Don't report HS when in CT mode
* Update tests
2021-04-27 11:19:21 +02:00
jan iversen
e5e215353d
Add swap byte/word/byteword option to modbus sensor ( #49719 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-04-27 10:49:41 +02:00
J. Nick Koston
a67b9eff17
Reduce config entry setup/unload boilerplate D-F ( #49733 )
2021-04-26 20:46:49 -10:00
Robert Svensson
58ad3b61f7
Entities for secondary temperature values created by certain Xiaomi devices in deCONZ ( #49724 )
...
* Create sensors for secondary temperature values created by certain Xiaomi devices
* Fix tests
2021-04-27 08:43:06 +02:00
J. Nick Koston
b27e9e376d
Use StaticPool for recorder and NullPool for all other threads with sqlite3 ( #49693 )
2021-04-26 19:20:31 -10:00
jan iversen
677d8e9a89
Add restore last state test to modbus sensor ( #49721 )
2021-04-27 00:20:50 +02:00
jjlawren
dc50524f32
Cleanup implementation of new Sonos sensors ( #49716 )
2021-04-26 23:59:04 +02:00
Alexei Chetroi
4a6bb96a0f
Stop fast polling of a Zigbee device after a check-in command ( #49685 )
...
* Stop fast polling after a check-in
* Update tests
2021-04-25 21:15:04 -04:00