J. Nick Koston
2bff7f8020
Remove YAML support from gogogate2/ismartgate ( #50312 )
2021-05-09 11:46:07 +02:00
J. Nick Koston
29cd5f20b9
Add zeroconf discovery to powerview ( #50308 )
2021-05-09 11:41:27 +02:00
Gleb Sinyavskiy
97eb4c6c62
Add syncthing integration ( #38331 )
...
* Scaffold the integration
* Add config flow data schema
* Handle configuration errors
* Get folder states
* Support https
* Fix translations
* Listen to syncthing events in a separate thread
* Bump syncthing
* Automatically reconnect to the syncthing server
* Renames
* Improve loading and unloading
* Update folder states from events
* Refactoring, handle FolderPaused event
* Dynamic folder icons
* Refactoring
* Mark folders as unavailable when senrver is unavailable
* Update folder satus when server is available
* Raise PlatformNotReady
* Implement additional polling
* Stop polling when the server is not available
* Minor fixes
* Remove logging
* Check name uniqueness
* Refactoring
* Minor refactorings
* Bump python-syncthing
* Migrate to aiosyncthing
* Minor fixes
* Update .coveragerc
* Set quality scale
* Bump aiosyncthing, properly handle invalid token
* Fix logging
* Fix logging
* Use CONF_VERIFY_SSL from homeassistant.const
* Bump aiosyncthing. Add Syncthing device
* Fix device name
* Bump aiosyncthing
* Bump aiosyncthing
* Extract SyncthingClient
* Add folder to device_state_attributes
* Do not pass the loop
* Cover config_flow.py
* Move self.async_create_entry outside of the try block
* Raise ConfigEntryNotReady if syncthing server is not reachable
* Fix already configured error message
* Change default name to Syncthing
* Bump aiosyncthing
* Fix formatting
* Fix formatting
* Fix tests
* Fix typo, use lis comprehension
* Fix typo, remove unused CONFIG_SCHEMA
* Bump aiosyncthing
* Remove periods from log messages W0001
* Fix tests
* Black, isort
* Remove empty items from manifest.json
* Fix variable naming
* Remove async_setup
* Use SensorEntity
* Use asyncio.create_task instead of self._hass.loop.create_task
* Do not pass hass to FolderSensor initializer
* Rename device_state_attributes to extra_state_attributes
* Use callbacks
* Simplify tests
* Refactor _listen()
* Use url for the title
* Use the url instead of the name to identify the config entry
* Explicitly set sensor attributes, extract _filter_state
* Use server url instead of name in device_info
* Use server url instead of name in logs
* User server id as a device identifier
* Use URL instead of name to identify config entry
* Use shortened server id instead of name to build entity name and unique id
* Do not use CONF_NAME
* Cleanup unused strings
* Cleanup unused strings
* Add IOT class
* Scaffold the integration
* Add config flow data schema
* Handle configuration errors
* Get folder states
* Support https
* Fix translations
* Listen to syncthing events in a separate thread
* Bump syncthing
* Automatically reconnect to the syncthing server
* Renames
* Improve loading and unloading
* Update folder states from events
* Refactoring, handle FolderPaused event
* Dynamic folder icons
* Refactoring
* Mark folders as unavailable when senrver is unavailable
* Update folder satus when server is available
* Raise PlatformNotReady
* Implement additional polling
* Stop polling when the server is not available
* Minor fixes
* Remove logging
* Check name uniqueness
* Refactoring
* Minor refactorings
* Bump python-syncthing
* Migrate to aiosyncthing
* Minor fixes
* Update .coveragerc
* Set quality scale
* Bump aiosyncthing, properly handle invalid token
* Fix logging
* Fix logging
* Use CONF_VERIFY_SSL from homeassistant.const
* Bump aiosyncthing. Add Syncthing device
* Fix device name
* Bump aiosyncthing
* Bump aiosyncthing
* Extract SyncthingClient
* Add folder to device_state_attributes
* Do not pass the loop
* Cover config_flow.py
* Move self.async_create_entry outside of the try block
* Raise ConfigEntryNotReady if syncthing server is not reachable
* Fix already configured error message
* Change default name to Syncthing
* Bump aiosyncthing
* Fix formatting
* Fix formatting
* Fix tests
* Fix typo, use lis comprehension
* Fix typo, remove unused CONFIG_SCHEMA
* Bump aiosyncthing
* Remove periods from log messages W0001
* Fix tests
* Black, isort
* Remove empty items from manifest.json
* Fix variable naming
* Remove async_setup
* Use SensorEntity
* Use asyncio.create_task instead of self._hass.loop.create_task
* Do not pass hass to FolderSensor initializer
* Rename device_state_attributes to extra_state_attributes
* Use callbacks
* Simplify tests
* Refactor _listen()
* Use url for the title
* Use the url instead of the name to identify the config entry
* Explicitly set sensor attributes, extract _filter_state
* Use server url instead of name in device_info
* Use server url instead of name in logs
* User server id as a device identifier
* Use URL instead of name to identify config entry
* Use shortened server id instead of name to build entity name and unique id
* Do not use CONF_NAME
* Cleanup unused strings
* Cleanup unused strings
* Add IOT class
* Apply suggestions from code review
* Clean up
* Fix dict comprehension
* Clean sensor
* Use the server ID as a config entry unique ID
* Remove the AlreadyConfigured exception
* Clean up old error string
* Format json
* Convert sensor attributes to snake case
* Force CI
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-08 19:12:14 +02:00
jan iversen
29eb31e9da
Add configurable delay between connect and first request in modbus ( #50124 )
...
* Activate startup delay.
* Add removal of call_later if HA is stopped.
This is unlikely to happen, but just security measure.
* Removing timing interval.
async_fire_time_changed() needs to be called twice, first time the delay is
ended and second time update() is executed.
* Variable naming.
2021-05-08 13:28:35 +02:00
J. Nick Koston
bf2d40adfe
Migrate from pytz to python-dateutil ( #49643 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-07 22:46:26 -07:00
Pawel
57d3342137
Fix Epson config flow unique_id ( #45434 )
...
* switch Epson from HTTP to TCP communication
* fix tests
* add asyncio websession
* fix manifest
* fix config flow
* fix manifest
* fix logger warnings
* switch Epson from HTTP to TCP communication
* fix tests
* add asyncio websession
* fix config flow
* fix manifest
* fix logger warnings
* add already configured to import yaml
* remove neccessary projector on on config.yaml
* remove check import None
* reload integration if no unique_id
* async_migrate_entry
* add async_migrate_entry
* add init tests
* media player migration uid
* unifi config flow
* Update homeassistant/components/epson/media_player.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/epson/media_player.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* review
* remove unnecessary try except
* add import test
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* revert PORT option from config yaml
* fix tests
* remove port from config flow
* fix CONFIG_SCHEMA
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-07 23:05:59 +02:00
Erik Montnemery
934d241b70
Improve Google Cast options flow ( #50028 )
2021-05-07 12:59:51 -07:00
Maciej Bieniek
6df0190aeb
Improve type annotations for Airly integration ( #49898 )
2021-05-07 09:47:52 -05:00
Maciej Bieniek
0587f834df
Add Nettigo Air Monitor integration ( #49099 )
2021-05-07 08:59:29 -05:00
Felipe Martins Diel
a7ef3ec947
Fix RM pro temperature sensor ( #50098 )
2021-05-07 14:47:51 +02:00
epenet
5d5122c2a4
Fix unique_id issue on onewire config entries ( #50161 )
2021-05-07 14:21:03 +02:00
Martin Hjelmare
0c288bcabb
Fix mysensors default persistence file on import ( #48410 )
2021-05-07 13:37:38 +02:00
Jan Bouwhuis
7ab505633d
Ignore empty output from MQTT fan's value template ( #50122 )
...
* Allow empty payload
* Add tests for ignoring empty payload
* logging on empty state and osccilation with tests
* Improve warning log when invalid value is received
2021-05-07 13:22:08 +02:00
Maciej Bieniek
7a87846146
Bump `gios` library ( #50145 )
...
* Bump gios library
* Use consts for API strings
* Do not store data locally
* Use API_TIMEOUT const
2021-05-07 13:03:11 +02:00
J. Nick Koston
64851dbac3
Add optimistic closing/opening to gogogate2 ( #42048 )
...
* Add optimistic closing/opening to gogogate2
* package rename
* update test
* Update homeassistant/components/gogogate2/cover.py
2021-05-07 11:13:51 +02:00
Erik Montnemery
c2663d61d7
Add color_mode support to group light ( #50165 )
...
* Add color_mode support to group light
* Lint
* Update tests
2021-05-06 22:34:51 -07:00
Raman Gupta
9f1b1c6c56
Add value map for Climacell V3 pollen sensors ( #50200 )
2021-05-06 21:12:51 -07:00
Martin Hjelmare
5ec09eab42
Move not loaded websocket constant to zwave_js ( #50188 )
2021-05-06 17:59:03 -07:00
J. Nick Koston
ce692afead
Add rainmachine discovery ( #49970 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-06 09:50:28 -05:00
Martin Hjelmare
38d7652176
Fix zwave_js websocket api KeyError on unloaded entry ( #50154 )
2021-05-06 16:43:14 +02:00
Franck Nijhof
177317a345
Allow passing options in config flow entry creation ( #49912 )
2021-05-05 22:14:01 -07:00
J. Nick Koston
af832e5434
Use shared httpx client in gogogate2 ( #45575 )
2021-05-05 21:47:44 -07:00
Franck Nijhof
ae692a003f
Add support for Elgato Light Strip ( #49988 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-05 16:41:32 -07:00
Aidan Timson
e4ef06d6b1
System Bridge Integration ( #48156 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-06 01:33:32 +02:00
Erik Montnemery
4136f9f203
Fix Tasmota color scaling and RGBW lights ( #50120 )
2021-05-05 17:59:26 +02:00
Erik Montnemery
93572bfe02
Add color_mode support to tasmota light ( #49599 )
2021-05-05 13:04:37 +02:00
Franck Nijhof
26b5a067bd
Remove YAML configuration from Verisure ( #50076 )
2021-05-05 09:51:05 +02:00
Rob Bierbooms
2b461073ff
Improve buienradar tests ( #50101 )
2021-05-05 09:05:46 +02:00
Franck Nijhof
301d642ad8
Clean up deprecation message & config schema from Cloudflare ( #50079 )
2021-05-05 07:56:50 +02:00
Franck Nijhof
4907764367
Remove YAML configuration from Daikin ( #50080 )
2021-05-04 14:23:59 -07:00
Franck Nijhof
fb2cb469e2
Remove YAML configuration from DoorBird ( #50082 )
2021-05-04 21:10:17 +02:00
Rob Bierbooms
c063f14c24
Add configuration flow for Buienradar integration ( #37796 )
...
* Add configuration flow for Buienradar integration
* Update buienradar camera tests to work with config flow
* Update buienradar weather tests to work with config flow
* Update buienradar sensor tests to work with config flow
* Remove buienradar config_flow tests to pass tests
* Add config flow tests for buienradar integration
* Increase test coverage for buienradar config_flow tests
* Move data into domain
* Remove forecast option
* Move data to options
* Remove options from config flow
* Adjust tests
* Adjust string
* Fix pylint issues
* Rework review comments
* Handle import
* Change config flow to setup camera or weather
* Fix tests
* Remove translated file
* Fix pylint
* Fix flake8
* Fix unload
* Minor name changes
* Update homeassistant/components/buienradar/config_flow.py
Co-authored-by: Ties de Kock <ties@tiesdekock.nl>
* Remove asynctest
* Add translation
* Disable sensors by default
* Remove integration name from translations
* Remove import method
* Drop selection between platforms, disable camera by default
* Minor fix in configured_instances
* Bugfix in weather
* Rework import
* Change unique ids of camera
* Fix in import
* Fix camera tests
* Fix sensor test
* Fix sensor test 2
* Fix config flow tests
* Add option flow
* Add tests for option flow
* Add import tests
* Some cleanups
* Apply suggestions from code review
Apply code suggestions
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Fix isort,black,mypy
* Small tweaks and added typing to new parts
* Fix review comments (1)
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix review comments (2)
* Fix issues
* Fix unique id
* Improve tests
* Extend tests
* Fix issue with unload
* Address review comments
* Add warning when loading platform
* Add load/unload test
Co-authored-by: Ties de Kock <ties@tiesdekock.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-04 13:49:16 +02:00
Robert Svensson
d579e3427f
Use last_step marker on UniFi options flow ( #50053 )
2021-05-04 08:54:45 +02:00
Dermot Duffy
809c1394d4
Enable mypy for motionEye (aye aye!) ( #49738 )
2021-05-04 08:19:41 +02:00
Simone Chemelli
55c96ae86f
Create Fritz device and connectivity sensor ( #49699 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-03 17:11:21 -10:00
J. Nick Koston
302cab185d
Add reauth support to flume ( #49991 )
2021-05-03 10:30:22 -07:00
Franck Nijhof
0627b316e3
Add Identify service to Elgato integration ( #49990 )
2021-05-03 17:32:10 +02:00
Joakim Sørensen
9b89acea97
Handle Timeout exceptions in system_health ( #50017 )
2021-05-03 14:26:25 +02:00
J. Nick Koston
779f34a8ed
Add dhcp discovery to hunterdouglas_powerview ( #49993 )
...
* Add dhcp discovery to hunterdouglas_powerview
* avoid dupe flow
* cleanup
* cleanup
2021-05-03 11:41:20 +02:00
Austin Mroczek
f8d82bbf80
Add unique_id to TotalConnect alarm_control_panel ( #49961 )
...
* add unique_id to alarm_control_panel
* Update homeassistant/components/totalconnect/alarm_control_panel.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-03 11:38:59 +02:00
J. Nick Koston
a4432557d3
Defer writing http config until after startup has calmed down ( #50000 )
2021-05-02 19:48:49 -10:00
Bram Kragten
301d4b0657
Fix saving a scene ( #49980 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-02 22:11:57 -07:00
J. Nick Koston
42c48e8cf9
Add reauth support to myq ( #49998 )
2021-05-02 21:52:48 -07:00
J. Nick Koston
1c8d9ca68b
Check exception causes for matching strings during recorder migration ( #49999 )
2021-05-02 20:57:42 -07:00
jan iversen
8adbc62a6e
Enable homeassistant.update_entity service for all modbus platforms ( #49918 )
...
* Rename _update() to update()
A platform neeed a function update(), even though
polling is false, this is due to the service:
homeassistant.update_entity, which calls update()
* Update test harnesss to script testing.
Test homeassistant.update_entity in all platforms.
This call calls update() in the platform to get
a new reading.
* Add reuse parameter.
* Move service call from helper to tests.
* Change run_service_update --> prepare_service_update.
* Remove entity_id parameter.
2021-05-02 10:41:36 +02:00
Paulus Schoutsen
1bd9826684
Handle different entity_id formats ( #49969 )
2021-05-01 20:30:28 -07:00
Alan Tse
3546ff2da2
Bump Tesla dependency teslajsonpy to 0.18.3 ( #49939 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-01 17:04:37 -07:00
J. Nick Koston
002b068c0a
Remove YAML support from sense ( #49935 )
2021-05-01 11:17:52 -10:00
Ville Skyttä
77d5244577
Use device registry CONNECTION_* constants ( #49923 )
2021-04-30 23:58:50 +02:00
jjlawren
37e8571fe8
Use header URI in Plex config flow ( #49915 )
2021-04-30 23:15:59 +02:00
jan iversen
aa8ce07e35
Start Modbus cover timer independent if there is a state to restore ( #49919 )
...
* Start timer independent if there is a state to restore.
* Update test cases, that now start working.
2021-04-30 22:36:55 +02:00
jan iversen
684ea9e49b
Restructure modbus switch, and solve read/write conflicts ( #49386 )
...
Remove old style configuration from switch.
- The old style configuration allowed a number of illegal
configurations, instead of adding if...log. in setup we
only support the new configuration style.
Add new/changed configuration switch.
Removed verify_state and cleaned configuration to avoid possible
illegal configurations.
2021-04-30 16:47:18 +02:00
Maciej Bieniek
39e8a92596
Remove unused code from Brother config flow ( #49889 )
2021-04-30 16:41:55 +02:00
Raman Gupta
fdc29d6a80
Add device specific discovery for Heatit Z-TRM3 thermostat ( #49804 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-30 16:10:25 +02:00
Maciej Bieniek
37dad92bf7
Split long string in DuneHD test ( #49900 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-30 15:30:21 +02:00
Erik Montnemery
956c972e72
Add color_mode support to zwave_js light ( #49588 )
2021-04-30 13:46:25 +02:00
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
J. Nick Koston
855559004b
Drop unneeded async_setup from august ( #49675 )
2021-04-25 23:13:54 +02:00
Michael
a5e25e519f
Remove yaml configuration from fritzbox ( #49663 )
2021-04-25 09:49:08 -10:00
Ville Skyttä
631ab367e2
Fix typing.Any spelling ( #49673 )
2021-04-25 09:36:21 -10:00
Marc Mueller
510a3ae915
Improve zeroconf test fixture ( #49657 )
2021-04-25 08:16:38 -10:00
jjlawren
3be8c9c1c0
Add battery support for Sonos speakers ( #49441 )
...
Co-authored-by: Walter Huf <hufman@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 07:20:21 -10:00
Dermot Duffy
3077363f44
Supplementary fixes to new motionEye integration ( #49626 )
2021-04-25 15:27:46 +02:00
J. Nick Koston
0862212942
Switch screenlogic discovery to use async version ( #49650 )
2021-04-25 12:41:40 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 ( #49616 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Simone Chemelli
b92f29997e
Rework Fritz config_flow and device_tracker ( #48287 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 00:10:33 -10:00
J. Nick Koston
e2837f08e8
Small cleanups for august ( #49493 )
2021-04-25 11:32:34 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Michael
a352516944
Implement DataUpdateCoordinator to fritzbox integration ( #49611 )
2021-04-24 14:40:12 -10:00
Marc Mueller
f1d48ddfe3
Update pylint to 2.8.0 ( #49637 )
2021-04-24 14:39:24 -10:00
Paulus Schoutsen
dcee78b747
Template sensor/binary sensors without trigger now respect section unique id ( #49613 )
2021-04-24 07:14:31 -07:00
Robert Svensson
b0fecdcc3d
Add entity service for deCONZ alarm control panel to control states used to help guide user transition between primary states ( #49606 )
2021-04-24 15:46:16 +02:00
Dermot Duffy
bbe58091a8
Create a motionEye integration ( #48239 )
2021-04-23 23:00:28 -07:00
Jakub Bartkowiak
33d4d545a7
Fix charging error in Roomba integration ( #49416 )
2021-04-23 17:22:56 -10:00
Joakim Sørensen
019484f148
Use dev endpoint for dev installations ( #49597 )
2021-04-23 20:57:10 +02:00
Erik Montnemery
8013eb0e08
Allow data entry flows to hint for additional steps ( #49202 )
2021-04-23 11:02:12 -07:00
Paulus Schoutsen
a6d87b7fae
Batch Google Report State ( #49511 )
...
* Batch Google Report State
* Fix batching
2021-04-23 10:56:23 -07:00
Guido Schmitz
c6edc7ae4f
Clean up devolo Home Control config flow ( #49585 )
2021-04-23 13:48:24 +02:00
jan iversen
9685cefba4
Integrations h* - i*: Rename HomeAssistantType to HomeAssistant. ( #49587 )
2021-04-23 10:11:58 +02:00
Ville Skyttä
a396619251
Use disabled_by constants ( #49584 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
jan iversen
d52bc2373f
Integrations i* - m*: Rename HomeAssistantType to HomeAssistant. ( #49586 )
2021-04-23 09:55:20 +02:00
jan iversen
017e32a0cb
Integrations h*: Rename HomeAssistantType to HomeAssistant. ( #49590 )
2021-04-23 09:49:02 +02:00
Erik Montnemery
a5a3c98aff
Make lights supporting rgbw and rgbww accept colors ( #49565 )
...
* Allow lights supporting rgbw and rgbww accepting colors
* Tweak, update tests
2021-04-23 09:25:37 +02:00
Paulus Schoutsen
265fdea83b
Allow config entries to store a reason ( #49581 )
2021-04-23 09:23:43 +02:00
Thomas Hollstegge
66dbb17a4a
Fix opening cover via emulated_hue without specifying a position ( #49570 )
2021-04-22 19:12:52 -10:00
Matt Zimmerman
e6d94845dd
SmartTub: use get_full_status() ( #49580 )
2021-04-22 18:55:58 -10:00
Matt Zimmerman
fec6ea3f76
SmartTub cleanup ( #49579 )
2021-04-22 18:54:55 -10:00
Erik Montnemery
d28b959a09
Improve sun condition trace ( #49551 )
2021-04-22 16:46:27 -07:00
Erik Montnemery
a9065f381d
Use supported_color_modes in emulated_hue ( #49175 )
2021-04-22 16:42:28 -07:00
Paulus Schoutsen
1016d4ea28
Support trigger-based template binary sensors ( #49504 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-22 14:54:28 -07:00
jan iversen
9410aefd0d
Integrations m*: Rename HomeAssistantType to HomeAssistant. ( #49567 )
2021-04-22 14:53:37 -07:00
jan iversen
d76993034e
Replace HomeAssistantType with HomeAssistant for integrations m* - n* ( #49566 )
...
* Integration neato: rename HomeAssistantType to HomeAssistant.
* Integration mysensors: rename HomeAssistantType to HomeAssistant.
* Integration mobile_app: rename HomeAssistantType to HomeAssistant.
* Integration minecraft_server: rename HomeAssistantType to HomeAssistant.
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-22 22:23:36 +02:00
Guido Schmitz
77372d9094
Add zeroconf detection to devolo Home Control ( #47934 )
...
Co-authored-by: Markus Bong <2Fake1987@gmail.com>
2021-04-22 08:38:56 -10:00
jan iversen
c351098f04
HomeAssistantType —> HomeAssistant for Integrations p* - s* ( #49558 )
2021-04-22 19:58:02 +02:00
jan iversen
9879b7becf
Rename HomeAssistantType to HomeAssistant, integrations w* - z* ( #49543 )
...
* Integration zha: HomeAssistantType -> HomeAssistant.
* Integration zerproc: HomeAssistantType -> HomeAssistant.
* Integration xbox: HomeAssistantType -> HomeAssistant.
* Integration wunderground: HomeAssistantType -> HomeAssistant.
* Integration wled: HomeAssistantType -> HomeAssistant.
* Integration water_heater: HomeAssistantType -> HomeAssistant.
* Integration websocket_api: HomeAssistantType -> HomeAssistant.
* Integration wilight: HomeAssistantType -> HomeAssistant.
2021-04-22 11:04:28 -04:00
jan iversen
6992e24263
Rename HomeAssistantType —> HomeAssistant, integrations t* - v* ( #49544 )
...
* Integration vizio: HomeAssistantType -> HomeAssistant.
* Integration velbus: HomeAssistantType -> HomeAssistant.
* Integration vacuum: HomeAssistantType -> HomeAssistant.
* Integration upnp: HomeAssistantType -> HomeAssistant.
* Integration upcloud: HomeAssistantType -> HomeAssistant.
* Integration twinkly: HomeAssistantType -> HomeAssistant.
* Integration tts: HomeAssistantType -> HomeAssistant.
* Integration tradfri: HomeAssistantType -> HomeAssistant.
* Integration traccar: HomeAssistantType -> HomeAssistant.
* Integration tplink: HomeAssistantType -> HomeAssistant.
2021-04-22 10:53:57 -04:00
jan iversen
2e084f260e
Rename HomeAssistantType —> HomeAssistant, integrations s* - t* ( #49550 )
2021-04-22 16:21:38 +02:00
Maciej Bieniek
e75233b279
Bump `brother` library to version 1.0.0 ( #49547 )
...
* Bump brother library
* Improve attributes generation
2021-04-22 13:20:14 +02:00
jan iversen
f67c0ce8bb
Secure 100% test coverage for modbus, binary_sensor and sensor ( #49521 )
...
* Secure 100% test coverage for modbus/binary_sensor.
* Test that class constructor is called.
2021-04-22 11:54:40 +02:00
bsmappee
8b08134850
Support local Smappee Genius device ( #48627 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 22:12:13 -10:00
Matt Zimmerman
8c52dfa1c5
Implement reauth for smarttub ( #47628 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 21:28:24 -10:00
J. Nick Koston
c10836fcee
Upgrade to sqlalchemy 1.4.11 ( #49538 )
2021-04-21 20:29:36 -10:00
corneyl
303ab36c54
Add Picnic integration ( #47507 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: @tkdrob <tkdrob4390@yahoo.com>
2021-04-21 22:21:56 -07:00
J. Nick Koston
cb4558c088
Autodetect zeroconf interface selection when not set ( #49529 )
2021-04-21 22:10:34 -07:00
MarBra
9003dbfdf3
Add denonavr DynamicEQ and Audyssey service ( #48694 )
...
* denonavr: Add DynamicEQ and Audyssey service
* Remove debug print
* Syntax sugar
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/denonavr/services.yaml
Co-authored-by: J. Nick Koston <nick@koston.org>
* Remove trailing whitespaces
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 15:55:30 -10:00
jan iversen
6a4f414236
Change HomeAssistantType to HomeAssistant ( #49522 )
2021-04-21 15:53:06 -10:00
Raman Gupta
99c5087c1e
Add WS API command to capture zwave_js logs from server ( #49444 )
...
* Add WS API commands to capture zwave_js logs from server
* register commands
* create a task
* Update homeassistant/components/zwave_js/api.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/zwave_js/api.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* fix
* fixes and add test
* fix PR on rebase
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-21 07:37:35 -04:00
Charles Garwood
cad281b326
Add subscription for Z-Wave JS node re-interview status ( #49024 )
...
* Add subscription for interview status
* update test
* forward stage completed event
* add additional test
* additional tests
* return earlier
2021-04-21 07:35:16 -04:00
Raman Gupta
6e22251e1d
Add support to enable/disable zwave_js data collection ( #49440 )
2021-04-20 21:40:54 -04:00
Raman Gupta
cf16e651cf
Bump zwave_js dependency to 0.24.0 ( #49445 )
...
* Bump zwave_js dependency to 0.24.0
* fix bug in schema
* fix test
2021-04-20 23:44:26 +02:00
Robert Svensson
63616a9e36
Use config_entry.on_unload rather than local listener implementation in UniFi ( #49496 )
2021-04-20 08:50:42 -10:00
jan iversen
d24b3e0a3c
Test pymodbus ( #49053 )
2021-04-20 11:25:37 -07:00
J. Nick Koston
df66f2a9da
Cleanup history states tests that were converted to async tests ( #49446 )
2021-04-20 08:21:41 -10:00
Paulus Schoutsen
7e7267f822
Send only a single event per incoming Google command ( #49449 )
2021-04-20 09:21:52 -07:00
Martin Hjelmare
410f0e3604
Fix mysensors mqtt integration setup guard ( #49423 )
2021-04-20 09:21:38 -07:00
Robert Svensson
34245c3add
Add alarm control panel support to deCONZ integration ( #48736 )
...
* Infrastructure in place
* Base implementation
* Add alarm event
* Add custom services to alarm control panel
* Add service descriptions
* Increase test coverage
* Simplified to one entity service with an options selector
* Remove everything but the essentials
* Add library with proper support
* Fix stale comments
2021-04-20 17:34:11 +02:00
Jan Bouwhuis
ff367cfcb6
Mqtt cover avoid warnings on empty payload ( #49253 )
...
* No warnings on extra json values with templates
* ignore empty received payload
2021-04-20 15:47:40 +02:00
René Klomp
12853438c5
SMA code quality improvement and bugfix ( #49346 )
...
* Minor code quality improvements
Thanks to @MartinHjelmare
* Convert legacy dict config to list
* Improved test
* Typo
* Test improvements
* Create fixtures in conftest.py
2021-04-20 10:59:02 +02:00
jjlawren
523a71ac20
Set temperature precision for Ecobee climate entities to tenths ( #48697 )
2021-04-19 17:41:30 -07:00
Dermot Duffy
1560c00db1
Use Hyperion human-readable effect names instead of API identifiers ( #45763 )
2021-04-19 23:46:18 +02:00
Joakim Sørensen
a5806b59f2
Raise HassioAPIError when error is returned ( #49418 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 08:23:43 -07:00
J. Nick Koston
b8001b951b
Avoid executor jumps in history stats when no update is needed ( #49407 )
2021-04-19 08:23:10 -07:00
J. Nick Koston
6d137d2316
Increase recorder test coverage ( #49362 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 08:22:38 -07:00
Vladimír Záhradník
05755c27f2
Log an error if modbus Cover is not initialized correctly ( #48829 )
2021-04-19 16:52:08 +02:00
Chris Browet
591d09c177
Use google assistant TemperatureControl trait to report sensor ( #46491 )
...
* CHG: use TemperatureControl trait to report sensor
* fixup: blacked
* fixup: flaked
* fixup: flaked
* Adjust tests
* fixup test and rebase
* test coverage
2021-04-19 11:41:30 +02:00
J. Nick Koston
7f6572893d
Add services to the profiler to log threads and event loop schedule ( #49327 )
...
* Add services to the profiler to log threads and event loop schedule
* improve readability
* increase log debug
* bigger
* tweaks
* Update homeassistant/components/profiler/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/profiler/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* remove schema= and cleanup existing
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 11:39:34 +02:00
J. Nick Koston
e24f5831a2
Force recorder shutdown at final write event ( #49145 )
...
* Force recorder shutdown at EVENT_HOMEASSISTANT_FINAL_WRITE
* remove unreachable
* remove unreachable
* simplify
* cancel in async
2021-04-19 11:24:17 +02:00
J. Nick Koston
0b26294fb0
Small cleanups to rachio ( #49404 )
...
- Remove unused async_step
- Reduce async callbacks from executor
2021-04-19 10:39:45 +02:00
Felipe Martins Diel
e98f27ead6
Use broadlink.hello() for direct discovery ( #49405 )
2021-04-19 10:16:03 +02:00
J. Nick Koston
344717d07d
Reduce time to first byte for frontend index ( #49396 )
...
Cache template and manifest.json generation
2021-04-18 21:17:30 -07:00
Felipe Martins Diel
6a3832484c
Do not log error messages when discovering Broadlink devices ( #49394 )
2021-04-18 18:12:27 -10:00
Michael
a050c8827b
Add battery sensor to fritzbox smart home devices ( #49374 )
2021-04-18 12:30:58 -10:00
J. Nick Koston
6e911ba19f
Shutdown bond bpup and skip polling after the stop event ( #49326 )
2021-04-18 13:46:46 -07:00
Brent Petit
080c89c761
Only set fan state in ecobee set_fan_mode service ( #48086 )
2021-04-18 22:35:03 +02:00
Brett
afd79a675c
Add set_myzone service to Advantage Air ( #46934 )
...
* Add set_myzone service requested on forums
* Add MyZone binary sensor for climate zones
* Fixed Black on binary_sensor.py
* Add the new entity
* Fix spelling
* Test myZone value
* MyZone Binary Sensor test
* Fixed new binary sensor tests
* Fix removed dependancy
* Correct fixture
* Update homeassistant/components/advantage_air/binary_sensor.py
Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
* Updated services.yaml to use target
Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
2021-04-18 10:36:34 +02:00
J. Nick Koston
252bcabbea
Fix exception in roomba discovery when the device does not respond on the first try ( #49360 )
2021-04-18 09:48:02 +02:00
J. Nick Koston
e06bb3b5e7
Shutdown harmony connection on stop ( #49335 )
2021-04-18 09:44:29 +02:00
J. Nick Koston
46c28f349a
Update mazda to use ConfigEntryAuthFailed ( #49333 )
2021-04-17 09:25:13 -10:00
Aidan Timson
912d5c347c
Add reauth flow for lyric ( #47863 )
2021-04-17 07:20:16 -10:00
Brandon Rothweiler
189511724a
Add device tracker platform to Mazda integration ( #47974 )
...
* Add device tracker platform for Mazda integration
* Split device tests into a separate file
* Address review comments
2021-04-17 11:26:07 +02:00
J. Nick Koston
673f542cde
Do not wait for websocket response to be delivered before shutdown ( #49323 )
...
- Waiting was unreliable since the websocket response could take a few seconds to get delivered
- Alternate frontend fix is https://github.com/home-assistant/frontend/pull/8932
2021-04-16 20:57:28 -07:00
jan iversen
ea9641f980
Apply Precision/Scale/Offset to struct in modbus sensor ( #48544 )
...
The single values in struct are corrected with presicion, scale and offset,
just as it is done with single values.
2021-04-16 22:33:58 +02:00
Franck Nijhof
7264c95217
Clean up superfluous integration setup - part 6 ( #49298 )
2021-04-16 09:23:27 -07:00
Franck Nijhof
af80ca6795
Clean up superfluous integration setup - part 5 ( #49296 )
2021-04-16 09:22:56 -07:00
Franck Nijhof
969c147b77
Clean up superfluous integration setup - part 4 ( #49295 )
...
* Clean up superfluous integration setup - part 4
* Adjust tests
2021-04-16 17:46:49 +02:00
Franck Nijhof
93dbc26db5
Fix Coronavirus integration robustness ( #49287 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-16 10:53:19 +02:00
Franck Nijhof
ec5c6e18ec
Fix ignorability of AdGuard hassio discovery step ( #49276 )
2021-04-16 09:11:19 +02:00
Erik Montnemery
2c8b7c56f5
Fix race when restarting script ( #49247 )
2021-04-16 09:03:34 +02:00
Franck Nijhof
eb008e533e
Process AdGuard review comments ( #49274 )
2021-04-15 23:34:49 +02:00
Raman Gupta
898a1a17be
Add sensors for other ClimaCell data ( #49259 )
...
* Add sensors for other ClimaCell data
* add tests and add rounding
* docstrings
* fix pressure
* Update homeassistant/components/climacell/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/climacell/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* review comments
* add another abstractmethod
* use superscript
* remove mypy ignore
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-15 16:31:59 -04:00
Kevin Eifinger
5a01addd67
Add support for multiple AdGuard instances ( #49116 )
2021-04-15 21:32:52 +02:00
Erik Montnemery
ec56ae2cbc
Set deprecated supported_features for MQTT JSON light ( #49167 )
...
* Set deprecated supported_features for MQTT json light
* Update homeassistant/components/light/__init__.py
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-15 17:24:21 +02:00
J. Nick Koston
7a40d0f1c2
Disconnect roomba on stop event ( #49235 )
2021-04-15 11:24:43 +02:00
J. Nick Koston
2887eeb32f
Only enable envoy inverters when the user has access ( #49234 )
2021-04-15 11:17:32 +02:00
J. Nick Koston
e234fc6e7e
Disconnect homekit_controller devices on the stop event ( #49244 )
2021-04-14 21:47:15 -10:00
Steven Looman
555f508b8c
Reinitialize upnp device on config change ( #49081 )
...
* Store coordinator at Device
* Use DeviceUpdater to follow config/location changes
* Cleaning up
* Fix unit tests + review changes
* Don't test internals
2021-04-14 23:39:44 +02:00
J. Nick Koston
403c6b9e26
Stop ssdp scans when stop event happens ( #49140 )
2021-04-14 22:23:15 +02:00
Unai
aaa600e00a
Add unique-ids to maxcube component ( #49196 )
2021-04-14 22:19:24 +02:00
Diogo Gomes
e4a7260384
Bump pykmtronic to 0.3.0 ( #49191 )
2021-04-14 18:11:51 +02:00
Erik Montnemery
1230c46e1e
Use supported_color_modes in alexa ( #49174 )
2021-04-14 09:18:49 +02:00
Erik Montnemery
e0ac12bd56
Use supported_color_modes in homekit ( #49177 )
2021-04-14 09:18:34 +02:00
Erik Montnemery
1a5068f71d
Use supported_color_modes in google_assistant ( #49176 )
...
* Use supported_color_modes in google_assistant
* Fix tests
2021-04-14 09:18:22 +02:00
Paulus Schoutsen
ba93a033a5
Cloud to set up Alexa conditionally ( #49136 )
2021-04-13 09:31:41 -07:00
Paulus Schoutsen
28347e19c5
Fix Hue service being removed on entry reload ( #48663 )
2021-04-13 09:31:23 -07:00
Paulus Schoutsen
05aeff5591
Describe Google Assistant events ( #49141 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 09:31:01 -07:00
René Klomp
926c2489f0
Implement SMA config flow ( #48003 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Johann Kellerman <kellerza@gmail.com>
2021-04-13 06:21:01 -10:00
Paulus Schoutsen
beea2dd35f
Internally work with modern config syntax for template binary sensor platform config ( #48981 )
2021-04-13 07:58:44 -07:00
Raman Gupta
fe6d6895aa
Migrate existing zwave_js entities if endpoint has changed ( #48963 )
...
* Migrate existing zwave_js entities if endpoint has changed
* better function name
* cleanup code
* return as early as we can
* use defaultdict instead of setdefault
* PR comments
* re-add missing logic
* set defaultdict outside of for loop
* additional cleanup
* parametrize tests
* fix reinterview logic
* test that we skip migration when multiple entities are found
* Update tests/components/zwave_js/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 16:37:55 +02:00
Erik Montnemery
916ba0be11
Don't receive homeassistant_* events from MQTT eventstream ( #49158 )
2021-04-13 15:09:50 +02:00
J. Nick Koston
5365fb6c72
Fix setting up remotes that lack a supported features list in homekit ( #49152 )
2021-04-13 12:44:07 +02:00
Clifford Roche
4ce6d00a22
Improve the discovery process for Gree ( #45449 )
...
* Add support for async device discovery
* FIx missing dispatcher cleanup breaking integration reload
* Update homeassistant/components/gree/climate.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/gree/switch.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/gree/bridge.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Working on feedback
* Improving load/unload tests
* Update homeassistant/components/gree/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Working on more feedback
* Add tests covering async discovery scenarios
* Remove unnecessary shutdown
* Update homeassistant/components/gree/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Code refactor from reviews
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-04-13 11:54:03 +02:00
Dermot Duffy
63d42867e8
Add Hyperion device support ( #47881 )
...
* Add Hyperion device support.
* Update to the new typing annotations.
* Add device cleanup logic.
* Fixes based on the excellent feedback from emontnemery
2021-04-13 10:35:38 +02:00
J. Nick Koston
53853f035d
Prevent calling stop or restart services during db upgrade ( #49098 )
2021-04-12 17:18:38 -07:00
Paulus Schoutsen
65126cec3e
Allow top level non-trigger template entities ( #48976 )
2021-04-12 17:15:50 -07:00
Unai
ff8e4fb77f
Upgrade maxcube-api to 0.4.2 ( #49106 )
...
Upgrade to maxcube-api 0.4.2 to fix pending issues in HA 2021.4.x:
- Interpret correctly S command error responses (https://github.com/home-assistant/core/issues/49075 )
- Support application timezone configuration (https://github.com/home-assistant/core/issues/49076 )
2021-04-13 00:14:29 +02:00
treylok
7256e333e4
Add Ecobee humidifier ( #45003 )
2021-04-12 23:44:13 +02:00
Ludovico de Nittis
de4b1eebdd
iAlarm small code quality improvements ( #49126 )
2021-04-12 23:24:15 +02:00
Raman Gupta
b98ca49a56
Add min and max temp properties to zwave_js.climate ( #49125 )
2021-04-12 22:12:38 +02:00
Erik Montnemery
ff5fbea1fb
Improve trace of template conditions ( #49101 )
...
* Improve trace of template conditions
* Refactor
* Fix wait_template trace
* Update tests
2021-04-12 20:22:28 +02:00
Marc Mueller
106dc4d28a
Don't import stdlib typing types from helpers.typing ( #49104 )
2021-04-12 18:43:14 +02:00
Erik Montnemery
f5545badac
Quote media_source paths ( #49054 )
...
* Quote path in async_sign_path
* Address review comments, add tests
* Update tests/testing_config/media/Epic Sax Guy 10 Hours.mp4
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-12 18:32:12 +02:00
jjlawren
dbb771e19c
Check all endpoints for zwave_js.climate hvac_action ( #49115 )
2021-04-12 12:29:45 -04:00
J. Nick Koston
9368891b1b
Live db migrations and recovery ( #49036 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-11 20:43:54 -10:00
Paulus Schoutsen
2d5edeb1ef
Set hass when adding template attribute ( #49094 )
2021-04-11 22:49:09 -07:00
Joakim Sørensen
9585defca0
Add device_tracker scanners to hass.config.components ( #49063 )
2021-04-11 13:54:43 -10:00
Erik Montnemery
1145856c45
Fix cast options flow overwriting data ( #49051 )
2021-04-11 13:53:44 -10:00
Jan Bouwhuis
74d7293ab8
mqtt fan percentage to speed_range and received speed_state fix ( #49060 )
...
* percentage to speed_range and get speed state fix
* Update homeassistant/components/mqtt/fan.py
* Update homeassistant/components/mqtt/fan.py
* Update homeassistant/components/mqtt/fan.py
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 13:53:07 -10:00
mptei
1d28f485d3
Patch ip interface instead of XKNX in knx ( #49064 )
...
* knx: Deeper tests.
* Set rate_limit to 0; removed waiting for queue
2021-04-11 23:01:30 +02:00
Milan Meulemans
71e0e42792
Add Rituals Perfume Genie sensor platform ( #48270 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 10:36:44 -10:00
Nathan Spencer
eb2949a20f
Add set_wait_time command support to Litter-Robot ( #48300 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-11 10:35:25 -10:00
Ludovico de Nittis
30618aae94
Reintroduce iAlarm integration ( #43525 )
...
The previous iAlarm integration has been removed because it used
webscraping #43010 .
Since then, the pyialarm library has been updated to use the iAlarm API
instead.
With this commit I reintroduce the iAlarm integration, leveraging the
new HA config flow.
Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
2021-04-11 10:35:04 -10:00
Raman Gupta
34a1dd4120
Add new attributes to Climacell ( #48707 )
...
* Add new attributes to Climacell
* fix logic
* test new properties
2021-04-11 11:59:42 +02:00
Franck Nijhof
5983fac5c2
Fix use search instead of match to filter logs ( #49017 )
2021-04-10 22:03:44 +02:00
amitfin
f8690c29cd
Bump libhdate dependency ( #48695 )
2021-04-10 17:20:08 +02:00
Marc Mueller
1a38d2089d
Bump python-typing-update to v0.3.3 ( #48992 )
...
* Bump python-typing-update to 0.3.3
* Changes after update
2021-04-10 15:21:11 +02:00
Erik Montnemery
7e4be921a8
Add helper to get an entity's supported features ( #48825 )
...
* Add helper to check entity's supported features
* Move get_supported_features to helpers/entity.py, add tests
* Fix error handling and improve tests
2021-04-10 08:19:16 +02:00
J. Nick Koston
4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth ( #48962 )
2021-04-09 19:41:29 -10:00
Jason
7cc857a298
Add custom JSONEncoder for subscribe_trigger WS endpoint ( #48664 )
2021-04-09 20:47:10 -07:00
Shay Levy
98396e13af
Fix Shelly button device triggers ( #48974 )
2021-04-09 16:58:44 -07:00
J. Nick Koston
9b0b2d9168
Prevent ping id allocation conflict with device_tracker ( #48969 )
...
* Prevent ping id allocation conflict with device_tracker
- Solves id conflict resulting unexpected home state
* Update homeassistant/components/ping/device_tracker.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-09 16:56:15 -07:00
Jan Bouwhuis
28ad5b5514
Implement percentage_step and preset_mode is not not speed fix for MQTT fan ( #48951 )
2021-04-09 16:14:48 -07:00