Robert Hillis
14aa9c91eb
Add Config Flow to Modem Caller ID integration ( #46677 )
...
* Add phone_modem integration
* Use original domain
* Add init tests for Modem Caller ID
* Clean up tests
* Clean up tests
* apply suggestions
* Fix tests
* Make only one instance possible
* Allow more than 1 device and remove hangup service
* simplify already configured
* Update sensor.py
* Update config_flow.py
* Fix manifest
* More cleanup
* Fix tests
* Ue target
* Clean up sensor.py
* Minor tweaks
* Close modem on restart and unload
* Update requirements
* fix tests
* Bump phone_modem
* rework
* add typing
* use async_setup_platform
* typing
* tweak
* cleanup
* fix init
* preserve original name
* remove callback line
* use list of serial devices on host
* tweak
* rework
* Rework for usb dicsovery
* Update requirements_test_all.txt
* Update config_flow.py
* tweaks
* tweak
* move api out of try statement
* suggested tweaks
* clean up
* typing
* tweak
* tweak
* async name the service
2021-09-13 14:22:54 -10:00
Brian Egge
8d87f4148b
Fix generic thermostat switch state initialization ( #56073 )
2021-09-13 22:27:06 +02:00
Abílio Costa
c869b78ac1
Add Whirlpool integration ( #48346 )
...
* Add Whirlpool integration
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Apply suggestions from code review
* Fix lint
* Fix lint and tests
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Use dict lookups
* Lint
* Apply code changes from PR review
* Do real integration setup in tests
* Apply suggestions from review & fix test
* Replace get with array operator
* Add suggestions from code review
* Rename test var
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-13 10:02:34 -10:00
Daniel Hjelseth Høyer
f9de8fb49a
Surepetcare config flow ( #56127 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-13 09:57:06 -10:00
starkillerOG
5f86388f1c
Netgear config flow ( #54479 )
...
* Original work from Quentame
* Small adjustments
* Add properties and method_version
* fix unknown name
* add consider_home functionality
* fix typo
* fix key
* swao setup order
* use formatted mac
* add tracked_list option
* add options flow
* add config flow
* add config flow
* clean up registries
* only remove if no other integration has that device
* tracked_list formatting
* convert tracked list
* add import
* move imports
* use new tracked list on update
* use update_device instead of remove
* add strings
* initialize already known devices
* Update router.py
* Update router.py
* Update router.py
* small fixes
* styling
* fix typing
* fix spelling
* Update router.py
* get model of router
* add router device info
* fix api
* add listeners
* update router device info
* remove method version option
* Update __init__.py
* fix styling
* ignore typing
* remove typing
* fix mypy config
* Update mypy.ini
* add options flow tests
* Update .coveragerc
* fix styling
* Update homeassistant/components/netgear/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/router.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* add ConfigEntryNotReady
* Update router.py
* use entry.async_on_unload
* Update homeassistant/components/netgear/device_tracker.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* use cv.ensure_list_csv
* add hostname property
* Update device_tracker.py
* fix typo
* fix isort
* add myself to codeowners
* clean config flow
* further clean config flow
* deprecate old netgear discovery
* split out _async_remove_untracked_registries
* Update homeassistant/components/netgear/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* cleanup
* fix rename
* fix typo
* remove URL option
* fixes
* add sensor platform
* fixes
* fix removing multiple entities
* remove extra attributes
* initialize sensors correctly
* extra sensors disabled by default
* fix styling and unused imports
* fix tests
* Update .coveragerc
* fix requirements
* remove tracked list
* remove tracked registry editing
* fix styling
* fix discovery test
* simplify unload
* Update homeassistant/components/netgear/router.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* add typing
Co-authored-by: J. Nick Koston <nick@koston.org>
* add typing
Co-authored-by: J. Nick Koston <nick@koston.org>
* add typing
Co-authored-by: J. Nick Koston <nick@koston.org>
* condense NetgearSensorEntities
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/router.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/router.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/router.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/netgear/router.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* add typing
* styling
* add typing
* use ForwardRefrence for typing
* Update homeassistant/components/netgear/device_tracker.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* add typing
* Apply suggestions from code review
Thanks!
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* process review comments
* fix styling
* fix devicename not available on all models
* ensure DeviceName is not needed
* Update homeassistant/components/netgear/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/netgear/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update __init__.py
* fix styling
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-13 18:18:21 +02:00
Brian Egge
e638e5bb42
Add component for binary sensor groups ( #55365 )
...
* Add component for binary sensor groups
https://github.com/home-assistant/home-assistant.io/pull/19239
* Accidental push over prior commit
* Add test for any case
* Add unavailable attribute and tests for unique_id
* Added tests for attributes
link to documentation: https://github.com/home-assistant/home-assistant.io/pull/19297
2021-09-13 15:28:37 +02:00
Erik Montnemery
d899d15a1e
Add statistics validation ( #56020 )
...
* Add statistics validation
* Remove redundant None-check
* Move validate_statistics WS API to recorder
* Apply suggestion from code review
2021-09-13 13:44:22 +02:00
Erik Montnemery
d2a9f7904a
Include end time of statistics data points in API response ( #56063 )
...
* Include end time of statistics data points in API response
* Correct typing
* Update tests
2021-09-13 10:02:24 +02:00
Shay Levy
e9eb76c7db
Add switch support for RPC device ( #56153 )
...
* Add switch support for RPC device
* Apply review comments
* Apply review comments
2021-09-13 09:31:35 +03:00
Maikel Punie
7472fb2049
Switch velbus from python-velbus to velbusaio ( #54032 )
...
* initial commit
* use new release
* Update for sensors
* big update
* pylint fixes, bump dependancy to 2021.8.2
* New version to try to fix the tests
* Fix a lot of errors, bump version
* more work
* Bump version
* Adde dimmer support
* Make sure the counters are useable in the energy dashboard
* bump version
* Fix testcases
* Update after review
* Bump version to be able to have some decent exception catches, add the temperature device class
* Readd the import of the platform from config file, but add a deprecation warning
* More comments updated
* Fix lefover index
* Fix unique id to be backwards compatible
* Fix small bug in covers
* Fix testcases
* Changes for theenery dashboard
* Fixed services
* Fix memo text
* Make the interface for a service the port string instead of the device selector
* Fix set_memo_text
* added an async scan task, more comments
* Accidently disabled some paltforms
* More comments, bump version
* Bump version, add extra attributes, enable mypy
* Removed new features
* More comments
* Bump version
* Update homeassistant/components/velbus/__init__.py
Co-authored-by: brefra <frank_van_breugel@hotmail.com>
* Readd the import step
Co-authored-by: brefra <frank_van_breugel@hotmail.com>
2021-09-13 08:22:46 +02:00
jan iversen
1f997fcd58
Update pymodbus fixtures to use autospec ( #55686 )
2021-09-12 21:16:48 -07:00
Paulus Schoutsen
32212651fe
Add zeroconf discovery to Hue ( #55358 )
...
* Add zeroconf discovery to Hue
* Add coverage for already exists case
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-12 20:00:51 -07:00
joshs85
41b25a765c
Changed wording of bond state belief feature from belief to tracked state ( #56147 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-12 15:46:43 -10:00
jan iversen
990d474d02
use fixtures. ( #56130 )
2021-09-12 15:08:46 -07:00
J. Nick Koston
673519f6bf
Prefer more targeted matchers in USB discovery ( #56142 )
...
- If there is a more targeted match it should win discovery
2021-09-12 15:07:40 -07:00
J. Nick Koston
0fc89780e9
Fix listener leak in HomeKit on reload ( #56143 )
...
* Fix listener leak in HomeKit on reload
* Fix mocking
2021-09-12 15:06:03 -07:00
Greg Thornton
f1556ead6d
Don't cache HomeKit camera stream source from entity ( #56136 )
2021-09-12 08:09:09 -07:00
Greg Thornton
371aa03bca
Add audio support option to HomeKit camera UI config flow ( #56107 )
2021-09-11 16:41:30 -10:00
J. Nick Koston
eff59e8b00
Use the same server name for all HomeKit bridges ( #55860 )
2021-09-11 19:00:26 -07:00
Steven Looman
73260c5b88
Move parts of ssdp to async_upnp_client ( #55540 )
...
* Move parts of ssdp to async_upnp_client
* Fix test for environments with multiple sources
* Fix sonos tests
* More fixes/changes
* More fixes
* Use async_upnp_client==0.21.0
* Pylint/test fixes
* More changes after review
* Fix tests
* Improve testing
* Fix mypy
* Fix yamaha_musiccast tests?
* Changes after review
* Pylint
* Reduce calls to combined_headers
* Update to async_upnp_client==0.21.1
* Update to async_upnp_client==0.21.2
* use as_dict
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-11 13:38:16 -10:00
Shay Levy
f1a88f0563
Add config flow support for RPC device ( #56118 )
2021-09-11 23:28:33 +03:00
Joakim Sørensen
bcb3c426f4
Blank out discovery info ( #56097 )
2021-09-11 12:34:19 -07:00
Paulus Schoutsen
8a611eb640
Fix singleton not working with falsey values ( #56072 )
2021-09-11 12:02:01 -07:00
jan iversen
cb8c0cb123
Update template/test_lock.py to use pytest ( #56102 )
2021-09-11 11:48:25 -07:00
Ruslan Sayfutdinov
a9ed4fa405
Bump awesomeversion to 21.8.1 ( #55817 )
2021-09-11 11:40:46 -07:00
Joakim Sørensen
1b46190a0c
Add view to get installation type during onboarding ( #56095 )
2021-09-11 15:38:38 +02:00
Michael
b11db0b1d7
Remove unnecessary extra attribute from NUT sensors ( #56078 )
2021-09-10 19:17:46 -07:00
Raman Gupta
c785983cce
Handle entity creation on new added zwave_js value ( #55987 )
...
* Handle new entity creation when a new value is added
* spacing
* Update homeassistant/components/zwave_js/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* change variable name and use asyncio.gather
* Centralized where discovered value IDs gets managed
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-10 23:49:31 +02:00
Shay Levy
8c3c2ad8e3
Updated changes for aioshelly 1.0.0 ( #56083 )
2021-09-11 00:48:55 +03:00
jan iversen
ac1251c52b
Update template/test_trigger.py to use pytest ( #55950 )
2021-09-10 09:55:51 -07:00
Paulus Schoutsen
dec7877671
Handle logout prefs update for Google/Alexa ( #56045 )
2021-09-10 09:08:43 -07:00
Erik Montnemery
443147e132
Wait for entities when updating energy preferences ( #56057 )
2021-09-10 09:07:52 -07:00
Erik Montnemery
78909b5227
Add support for state class total to energy cost sensor ( #55955 )
...
* Add support for all state classes to energy cost sensor
* Fix bug, adjust tests
* Fix rebase mistake
2021-09-10 09:05:32 +02:00
J. Nick Koston
5709640453
Report integrations that block startup wrap up ( #56003 )
2021-09-09 20:39:22 -07:00
Raman Gupta
113288cb1f
Fix zwave_js/node_state WS API command ( #55979 )
...
* Fix zwave_js/node_state WS API command
* Add negative assertion check to avoid regression
* Update tests/components/zwave_js/test_api.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* use constant
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2021-09-09 14:04:27 -04:00
Jean-Yves Avenard
556dcf6abb
Add iotawatt high-accuracy energy readout sensors ( #55512 )
2021-09-09 15:32:43 +02:00
joshs85
011817b122
Add state belief services to bond integration ( #54735 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-09 15:32:32 +02:00
cnico
065e858a03
Address post merge review of flipr binary sensor ( #55983 )
2021-09-09 09:45:58 +02:00
Erik Montnemery
80fd330479
Add sum_decrease and sum_increase statistics ( #55850 )
2021-09-08 23:35:53 -07:00
Joakim Plate
a8cbb949fa
Rfxtrx drop yaml configuration ( #54173 )
2021-09-08 22:17:02 -07:00
Alan Tse
98ecf2888c
Remove tesla integration ( #55988 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-08 22:12:03 -07:00
Erik Montnemery
232943c93d
Add significant change support to AQI type sensors ( #55833 )
2021-09-08 12:47:48 -07:00
Erik Montnemery
bb6c2093a2
Add support for state class measurement to energy cost sensor ( #55962 )
2021-09-08 12:46:28 -07:00
Erik Montnemery
27764e9985
Fix handling of imperial units in long term statistics ( #55959 )
2021-09-08 08:08:48 -07:00
Erik Montnemery
9f1e503784
Do not allow `inf` or `nan` sensor states in statistics ( #55943 )
2021-09-08 08:05:16 -07:00
Erik Montnemery
22e6ddf8df
Do not let one bad statistic spoil the bunch ( #55942 )
2021-09-08 07:55:40 -07:00
Ruslan Sayfutdinov
7195b8222b
Bump PyJWT to 2.1.0 ( #55911 )
2021-09-07 20:59:02 -07:00
Paulus Schoutsen
ec337101dd
Fix gas validation ( #55886 )
2021-09-07 20:53:43 -07:00
Raman Gupta
37d75e8a03
Allow multiple template.select platform entries ( #55908 )
2021-09-07 14:50:07 -07:00
Diogo Gomes
d705b35ea1
Address comment in integration Riemann sum PR #55875 ( #55895 )
...
* https://github.com/home-assistant/core/pull/55875\#discussion_r703334504
* missing test update
2021-09-07 19:40:20 +02:00
RDFurman
3aed58f825
Try to avoid rate limiting in honeywell ( #55304 )
...
* Limit parallel update and sleep loop
* Use asyncio sleep instead
* Extract sleep to const for testing
* Make loop sleep 0 in test
2021-09-07 16:32:26 +02:00
cnico
53ea24ec15
Add Flipr binary sensor ( #53525 )
2021-09-07 09:52:42 +02:00
Michael
2f3a11f930
Rewrite re-auth mechanism in Synology DSM integration ( #54298 )
2021-09-07 09:10:50 +02:00
Erik Montnemery
0d1412ea17
Set state class to total for net utility_meter sensors ( #55877 )
...
* Set state class to total for net utility_meter sensors
* Update tests
2021-09-07 08:13:14 +02:00
Diogo Gomes
1ca9deb520
Integration Sensor Initial State ( #55875 )
...
* initial state is UNAVAILABLE
* update tests
2021-09-07 08:12:54 +02:00
Paulus Schoutsen
93083513b4
Bump hass-nabucasa 49 ( #55823 )
2021-09-06 16:05:33 -07:00
Alexei Chetroi
c6888e4faf
Refactor ZHA tests ( #55844 )
...
* Replace ZHA tests FakeDevice
* Refactor ZHA tests to use zigpy devices and endpoints
* Use common consts for zigpy device mocks
Use the same dict key names for device signature mocks as zha quirks.
* Use const for test device list
* Update tests/components/zha/common.py
2021-09-06 19:00:06 -04:00
Erik Montnemery
b1dbdec2ea
Set state class to total for Integration sensors ( #55872 )
2021-09-07 00:27:31 +02:00
puddly
6895081595
Use `async_update_entry` in config unit test instead of modifying `data` ( #55855 )
2021-09-06 16:57:59 -04:00
Tatham Oddie
4fa9871080
Fix logbook entity_matches_only query mode ( #55761 )
...
The string matching template needs to match the same compact JSON format
as the data is now written in.
2021-09-06 13:39:39 -07:00
Martin Hjelmare
b088ce601c
Bump zwave-js-server-python to 0.30.0 ( #55831 )
2021-09-06 13:37:12 -07:00
Daniel Hjelseth Høyer
bcfedeb797
Surepetcare, bug fix ( #55842 )
2021-09-06 13:36:45 -07:00
J. Nick Koston
eba9b61011
Fix exception during rediscovery of ignored zha config entries ( #55859 )
...
Fixes #55709
2021-09-06 13:35:24 -07:00
Simone Chemelli
8b6d0ca13f
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 2 ( #53368 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-06 08:44:38 -10:00
Erik Montnemery
dd7dea9a3f
Make scapy imports in DHCP local ( #55647 )
2021-09-06 10:10:27 -07:00
Erik Montnemery
b99a22cd4d
Re-add state_class total to sensor ( #55103 )
...
* Re-add state_class total to sensor
* Make energy cost sensor enforce state_class total_increasing
* Bump deprecation of last_reset for state_class measurement
* Correct rebase mistakes
2021-09-06 18:28:58 +02:00
puddly
e671ad41ec
Replace zigpy-cc with zigpy-znp ( #55828 )
...
* Replace zigpy-cc with zigpy-znp in a ZHA config migration
* Fix failing unit tests
2021-09-06 09:50:54 -04:00
Erik Montnemery
05abf1405d
Migrate emulated_hue tests from unittest to pytest ( #55794 )
...
* Migrate emulated_hue tests from unittest to pytest
* Remove unused variables
2021-09-06 13:24:00 +02:00
Jan Bouwhuis
755835ee2e
Alexa - Remove legacy speed support for fan platform ( #55174 )
...
* Remove legacy fan speed support
* remove fan range controller tests
* retrigger tests
2021-09-06 10:19:57 +02:00
Marc Mueller
96db04213b
Use EntityDescription - vultr ( #55789 )
2021-09-06 09:44:33 +02:00
Marc Mueller
cc6a0d2f8d
Use EntityDescription - awair ( #55747 )
2021-09-06 09:40:41 +02:00
Witold Sowa
8565821394
ZHA: Added support for ZigBee Simple Sensor device and Binary Input c… ( #55819 )
...
* ZHA: Added support for ZigBee Simple Sensor device and Binary Input cluster
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
2021-09-06 01:41:57 -04:00
Alexei Chetroi
aa6cb84b27
Optimize ZHA ZCL attribute reporting configuration ( #55796 )
...
* Refactor ZCL attribute reporting configuration
Configure up to 3 attributes in a single request.
* Use constant for attribute reporting configuration
* Update tests
* Cleanup
* Remove irrelevant for this PR section
2021-09-05 17:45:08 -04:00
Chris Browet
5a2bcd2763
ADD: generalize regex_findall ( #54584 )
2021-09-05 12:41:39 +02:00
Brian Egge
c81a319346
Handle unknown preset mode in generic thermostat ( #55588 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-09-04 13:17:57 -07:00
jan iversen
6348bf70ac
Add caplog setup fixture. ( #55714 )
2021-09-04 07:09:55 -07:00
Erik Montnemery
38d42de2c0
Handle negative numbers in sensor long term statistics ( #55708 )
...
* Handle negative numbers in sensor long term statistics
* Use negative states in tests
2021-09-04 10:47:42 +02:00
jan iversen
7aa454231f
Update template/test_sensor.py to use pytest ( #55288 )
2021-09-03 22:56:12 -07:00
Paulus Schoutsen
19c54b8cbf
Drop unused ruamel ( #55672 )
2021-09-03 22:17:10 -07:00
J. Nick Koston
195ee2a188
Avoid creating sockets in homekit port available tests ( #55668 )
...
* Avoid creating sockets in homekit port available tests
* prevent new bridge from being setup -- its too fast now that the executor job is gone and it revealed an unpatched setup
2021-09-03 17:15:28 -10:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
epenet
0749e045bb
Add reauth to Renault config flow ( #55547 )
...
* Add reauth flow to async_setup_entry
* Add reauth flow to config_flow
* Add reauth tests
* Split reauth/reauth_confirm
* unindent code
* Add entry_id and unique_id to reauth flow testing
* Use description_placeholders for username
* fix typo
2021-09-04 02:17:24 +02:00
jan iversen
a756308e79
Update template/test_binary_sensor.py to use pytest ( #55220 )
2021-09-03 15:43:07 -07:00
Marc Mueller
ce6921d73c
Use EntityDescription - picnic ( #55682 )
...
* Use EntityDescription - picnic
* Change _attr_extra_state_attributes to be static
* Fix tests
2021-09-03 22:35:59 +02:00
Paulus Schoutsen
7111fc47c4
Better handle invalid trigger config ( #55637 )
2021-09-03 10:15:57 -07:00
Paulus Schoutsen
e0f640c0f8
Guard for doRollover failing ( #55669 )
2021-09-03 09:53:47 -07:00
J. Nick Koston
25b39b36e7
Ignore missing devices when in ssdp unsee ( #55553 )
2021-09-03 09:06:07 -07:00
Paulus Schoutsen
418d6a6a41
Guard for unexpected exceptions in device automation ( #55639 )
...
* Guard for unexpected exceptions in device automation
* merge
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-03 09:04:50 -07:00
ehendrix23
4310a7d814
Add upnp sensor for IP, Status, and Uptime ( #54780 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-09-03 17:15:28 +02:00
Erik Montnemery
4684ea2d14
Prevent 3rd party lib from opening sockets in broadlink tests ( #55636 )
2021-09-03 10:13:35 +02:00
Paulus Schoutsen
0c2772e0be
Fix template sensor availability ( #55635 )
2021-09-03 09:02:45 +02:00
Pascal Vizeli
8319f232b8
Disable observer for USB on containers ( #55570 )
...
* Disable observer for USB on containers
* remove operating system test
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-03 08:05:37 +02:00
J. Nick Koston
d8a81a54d8
Narrow zwave_js USB discovery ( #55613 )
...
- Avoid triggering discovery when we can know in advance the
device is not a Z-Wave stick
2021-09-03 05:11:03 +02:00
Erik Montnemery
7dbe8070f7
Mock out network.util.async_get_source_ip in tests ( #55592 )
2021-09-02 20:44:50 +02:00
J. Nick Koston
363320eedb
Mock sockets in the network integration tests ( #55594 )
2021-09-02 20:44:42 +02:00
Erik Montnemery
2e5c1236f9
Prevent 3rd party lib from opening sockets in freedompro tests ( #55596 )
2021-09-02 19:32:19 +02:00
Erik Montnemery
348bdca647
Prevent 3rd party lib from opening sockets in epson tests ( #55595 )
2021-09-02 19:30:53 +02:00
Erik Montnemery
cabb9c0ea4
Prevent 3rd party lib from opening sockets in broadlink tests ( #55593 )
2021-09-02 19:03:24 +02:00
Erik Montnemery
bfd799dc04
Use hass_client_no_auth test fixture in integrations s-x ( #55585 )
2021-09-02 14:50:10 +02:00
Erik Montnemery
acdddabe1f
Use hass_client_no_auth test fixture in integrations h-p ( #55583 )
2021-09-02 14:49:40 +02:00
Erik Montnemery
d5b6dc4f26
Use hass_client_no_auth test fixture in integrations a-g ( #55581 )
2021-09-02 14:49:20 +02:00
Erik Montnemery
cdaba62d2c
Add test fixture for unauthenticated HTTP client ( #55561 )
...
* Add test fixture for unauthenticated HTTP client
* Remove things from the future
2021-09-02 13:09:16 +02:00
Raman Gupta
02eba22068
Add additional test coverage for zwave_js meter sensors ( #55465 )
2021-09-01 17:22:17 -04:00
Erik Montnemery
7dbd0e5274
Fix zeroconf mock and use it in CI group 1's tests ( #55526 )
...
* Fix zeroconf mock and use it in CI group 1's tests
* Mock HaAsyncServiceBrowser
2021-09-01 22:38:00 +02:00
Erik Montnemery
e631671832
Use respx.mock in generic camera tests ( #55521 )
2021-09-01 20:45:29 +02:00
Paulus Schoutsen
27e29b714c
Bump cloud to 0.47.1 ( #55312 )
...
* Bump cloud to 0.47.0
* Bump reqs
* Bump to 0.47.1
* Do not load hass_nabucasa during http startup
* fix some tests
* Fix test
Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2021-09-01 09:54:54 -07:00
epenet
f8ec85686a
Add select platform to Renault integration ( #55494 )
...
* Add select platform to Renault integration
* Fix pylint
2021-09-01 14:44:10 +02:00
Joakim Sørensen
33fb080c1e
Add remote server to cloud system health ( #55506 )
...
* Add sintun server to cloud system health
* Update name
* Adjust test
2021-09-01 13:23:50 +02:00
Paulus Schoutsen
9284f7b147
Tweaks for the iotawatt integration ( #55510 )
2021-09-01 13:18:50 +02:00
epenet
bcf97cb308
Add device tracker platform to Renault integration ( #54745 )
2021-09-01 13:10:48 +02:00
Joakim Sørensen
befcafbc49
Mock setup in spotify tests ( #55515 )
2021-09-01 11:27:21 +02:00
epenet
02b7356596
Add services to Renault integration ( #54820 )
...
* Add services
* Add tests
* Cleanup async
* Fix pylint
* Update services.yaml
* Add extra schema validation
* Rename constants
* Simplify code
* Move constants
* Fix pylint
* Cleanup constants
* Drop charge_set_mode as moved to select platform
* Only register the services if no config entry has registered them yet
* Replace VIN with device selector to select vehicle
* Update logging
* Adjust type checking
* Use a shared base SERVICE_VEHICLE_SCHEMA
* Add selectors for ac_start (temperature/when)
* Add object selector for charge_set_schedules service
2021-09-01 11:23:54 +02:00
mbo18
a28593f133
Add vacation mode to manual alarm_control_panel ( #55340 )
...
* Add vacation mode
* Add vacation to demo
* Deduplicate code in tests
2021-09-01 09:34:21 +02:00
Erik Montnemery
93c086d830
Correct sum statistics when only last_reset has changed ( #55498 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-31 21:30:52 -07:00
Erik Montnemery
5d1a193eca
Improve log for sum statistics ( #55502 )
2021-08-31 19:15:22 +02:00
Raman Gupta
4d98a7e156
Allow device_id template function to use device name as input ( #55474 )
2021-08-31 14:56:47 +02:00
Joakim Sørensen
3e38dc0fd9
Add cache-control headers to supervisor entrypoint ( #55493 )
2021-08-31 14:45:28 +02:00
Erik Montnemery
f9225bad5f
Make new cycles for sensor sum statistics start with 0 as zero-point ( #55473 )
2021-08-31 10:45:17 +02:00
Eric Severance
88a08fdf57
Wemo Insight devices need polling when off ( #55348 )
2021-08-31 09:32:26 +02:00
Paulus Schoutsen
d277e0fb03
Add Eagle 200 name back ( #55477 )
...
* Add Eagle 200 name back
* add comment
* update tests
2021-08-31 08:45:35 +02:00
Matthew Garrett
dd21bf73fc
Assistant sensors ( #55480 )
2021-08-30 20:33:06 -07:00
Erik Montnemery
18c03e2f8d
Fix race in MQTT sensor when last_reset_topic is configured ( #55463 )
2021-08-30 23:32:35 +02:00
ha0y
433775cf4b
Add input_select and select domain support for HomeKit ( #54760 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-30 15:28:26 -05:00
Raman Gupta
1d1b5ab345
Fix area_id and area_name template functions ( #55470 )
2021-08-30 13:09:41 -07:00
Greg
3bd9be2f6d
Add IoTaWatt integration ( #55364 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-30 12:52:29 -07:00
Raman Gupta
331726ec2f
Bump zwave-js-server-python to 0.29.1 ( #55460 )
2021-08-30 09:40:56 -07:00
Erik Montnemery
ed53bb1d91
Revert "Deprecate last_reset options in MQTT sensor" ( #55457 )
...
This reverts commit f9fa5fa804
.
2021-08-30 16:58:48 +02:00
Erik Montnemery
722aa0895e
Improve statistics error messages when sensor's unit is changing ( #55436 )
...
* Improve error messages when sensor's unit is changing
* Improve test coverage
2021-08-30 12:51:46 +02:00
uvjustin
071fcee9a9
Remove byte-range addressed parts in stream ( #55396 )
...
Add individually addressed parts
2021-08-30 13:20:19 +08:00
J. Nick Koston
5549a925b8
Implement import of consider_home in nmap_tracker to avoid breaking change ( #55379 )
2021-08-29 20:38:41 -07:00
Klaas Schoute
6823b14d4c
Update entity names for P1 Monitor integration ( #55430 )
2021-08-29 20:29:37 -07:00
Aaron Bach
32df2f7d8b
Deprecate YAML config for ReCollect Waste ( #55426 )
2021-08-29 14:03:44 -06:00
uvjustin
923158cfba
Add ll hls to stream ( #49608 )
2021-08-29 09:53:41 +08:00
Michael
13cc671844
Re-configuration possibilities for Synology DSM ( #53285 )
...
* add automated host/ip reconfig via SSDP
* add reconfig of existing entry
* adjust tests
* adjust tests again
* use self._async_current_entries()
* _async_get_existing_entry()
* apply suggestions
2021-08-28 14:11:51 -05:00
Matthieu
979797136a
Add select entity to Logitech Harmony ( #53943 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-28 14:10:19 -05:00
jan iversen
16351ef3c2
Add shutdown test. ( #55357 )
2021-08-28 08:11:58 +02:00
Raman Gupta
714564eaa6
Listen to node events in the zwave_js node status sensor ( #55341 )
2021-08-27 15:01:20 -07:00
Aaron Bach
1f37c215f6
Ensure ReCollect Waste starts up even if no future pickup is found ( #55349 )
2021-08-27 15:00:17 -07:00
J. Nick Koston
10fa63775d
Ensure yeelights resync state if they are busy on first connect ( #55333 )
2021-08-27 12:43:53 -05:00
J. Nick Koston
2cc87cb7ab
Retrigger config flow when the ssdp location changes for a UDN ( #55343 )
...
Fixes #55229
2021-08-27 09:53:29 -07:00
jan iversen
7ac72ebf38
Add modbus name to log_error ( #55336 )
2021-08-27 09:26:57 -07:00
Chris Talkington
819fd811af
Fix reauth for sonarr ( #55329 )
...
* fix reauth for sonarr
* Update config_flow.py
* Update config_flow.py
* Update config_flow.py
* Update test_config_flow.py
* Update config_flow.py
* Update test_config_flow.py
* Update config_flow.py
2021-08-27 11:04:07 -05:00
Erik Montnemery
7e70252de5
Handle statistics for sensor with changing state class ( #55316 )
2021-08-27 16:18:49 +02:00
epenet
9ba504cd78
Address late review for Renault integration ( #55230 )
...
* Add type hints
* Fix isort
* tweaks to state attributes
* Move lambdas to regular functions
* Split CHECK_ATTRIBUTES into DYNAMIC_ATTRIBUTES and FIXED_ATTRIBUTES
* Clarify tests
* Fix typo
2021-08-27 07:22:23 +02:00
Matthias Alphart
cd0ae66d58
Add CONF_STATE_CLASS to `sensor/__init__.py` ( #54106 )
...
* add CONF_STATE_CLASS to const.py
* move to `sensor/__init__.py`
* move to sensor/const.py
* Revert "move to sensor/const.py"
This reverts commit 604d0d066b
.
* move it to `sensor/const.py` but import it from `sensor/__init__.py`
* add Modbus
2021-08-27 05:54:50 +02:00
J. Nick Koston
dfc2556669
Gracefully handle pyudev failing to filter on WSL ( #55286 )
...
* Gracefully handle pyudev failing to filter on WSL
* add debug message
* add mocks so we reach the new check
2021-08-26 15:47:10 -05:00
Chris
14aa19b814
Fix unique_id conflict in smarttthings ( #55235 )
2021-08-26 13:43:26 -07:00
J. Nick Koston
c3972b22fd
Fix yeelight brightness when nightlight switch is disabled ( #55278 )
2021-08-26 15:18:36 -05:00
J. Nick Koston
ae1d2926cf
Fix some yeelights showing wrong state after on/off ( #55279 )
2021-08-26 13:25:26 -05:00
J. Nick Koston
089dfad78a
Ensure yeelight model is set in the config entry ( #55281 )
...
* Ensure yeelight model is set in the config entry
- If the model was not set in the config entry the light could
be sent commands it could not handle
* update tests
* fix test
2021-08-26 13:02:59 -05:00
J. Nick Koston
fbcf21412d
Only warn once per entity when the async_camera_image signature needs to be updated ( #55238 )
2021-08-26 09:36:25 -07:00
J. Nick Koston
d59ea5329e
Abort zha usb discovery if deconz is setup ( #55245 )
...
* Abort zha usb discovery if deconz is setup
* Update tests/components/zha/test_config_flow.py
* add deconz domain const
* Update homeassistant/components/zha/config_flow.py
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-08-26 10:00:32 -04:00
J. Nick Koston
d4fa625a7f
Defer zha auto configure probe until after clicking configure ( #55239 )
2021-08-26 09:59:41 -04:00
J. Nick Koston
a89057ece5
Limit USB discovery to specific manufacturer/description/serial_number matches ( #55236 )
...
* Limit USB discovery to specific manufacturer/description/serial_number matches
* test for None case
2021-08-26 09:59:02 -04:00
Erik Montnemery
0a07ff4d23
Warn if a sensor with state_class_total has a decreasing value twice ( #55251 )
2021-08-26 14:27:14 +02:00
Franck Nijhof
96303a1d80
Fix MQTT add-on discovery to be ignorable ( #55250 )
2021-08-26 11:14:42 +02:00
Joakim Sørensen
03d3bbfba1
Only postfix image name for container ( #55248 )
2021-08-26 10:54:42 +02:00
epenet
9315f3bdd9
Use EntityDescription - renault ( #55061 )
...
* Cleanup sensor.py
* Add EntityDescription
* Add checks for state attributes
* Fix pylint
* Simplify checks
* Add icon checks
* Update data type
* Use mixin for required keys, and review class initialisation
* Add constraint to TypeVar("T")
* Enable lambda for icon handling
* Enable lambda for value handling
* Enable lambda for value handling
2021-08-25 23:15:49 +02:00
J. Nick Koston
35d943ba56
Add services to bond to start and stop increase/decrease brightness ( #55006 )
2021-08-25 22:07:31 +02:00
J. Nick Koston
e6e8d7eded
Convert color temperature to visible color in lights ( #55219 )
2021-08-25 21:56:36 +02:00
Milan Meulemans
59d401e7b7
Add Nanoleaf reauth flow ( #55217 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-25 21:56:10 +02:00
Diogo Gomes
fb28665cfa
Add "cron patterns" to define utility_meter cycles ( #46795 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-25 14:52:39 -05:00
Raman Gupta
2f7a7b0309
Add template functions to get area_id and area_name ( #54248 )
...
* Add template function to get area_id
* fix int bug
* Prefer area name lookup
* remove unnecessary checks
* fix import
* Add area_name function
* change behavior to fail in ambiguous scenarios
* Revert lotto winning exception checking
* review comments
* try except else
2021-08-25 15:16:51 -04:00
Paulus Schoutsen
7c5a0174ba
Add an energy solar platform for solar forecasts ( #54576 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-25 11:37:03 -07:00
Raman Gupta
e9625e4b7a
Add number platform to template integration ( #54789 )
2021-08-25 11:34:20 -07:00
Raman Gupta
8407ad01d4
Add select platform to template integration ( #54835 )
2021-08-25 11:21:24 -07:00
Milan Meulemans
d4b506e5e4
Add tests for Rituals init, sensor and switch ( #52406 )
2021-08-25 12:25:39 -05:00
Giuseppe Iannello
ec3bfcea46
Support for EnergyStorageTrait for vacuum cleaners ( #55134 )
2021-08-25 10:12:31 -07:00
Milan Meulemans
5c6451d11b
Address review of Nanoleaf Config Flow ( #55215 )
2021-08-25 17:41:48 +02:00
jan iversen
3a0a8da648
Change logging to do rollover() instead of rotate() ( #55177 )
...
* Change to rollover from rotate.
* Remove test log files.
2021-08-25 17:32:48 +02:00
J. Nick Koston
bd0af57ef2
Support device triggers in HomeKit ( #53869 )
2021-08-25 16:47:39 +02:00
Erik Montnemery
20d8c4da90
Report average of position and tilt_position for cover groups ( #52713 )
2021-08-25 16:12:29 +02:00
Marc Mueller
1224d68d05
Remove redundant str cast - sensor value conversion ( #55204 )
2021-08-25 15:01:17 +02:00
Daniel Hjelseth Høyer
7dd169b48e
Utility meter, add STATE_CLASS_TOTAL_INCREASING ( #54871 )
...
* Utility meter, STATE_CLASS_TOTAL_INCREASING
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* update test
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* update test
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-25 14:03:30 +02:00
Jan Bouwhuis
f4fbc083e6
Tasmota - Cleanup tests involving legacy fan speed ( #55202 )
2021-08-25 13:54:36 +02:00
Marc Mueller
7f203069a4
Use EntityDescription - mhz19 ( #55187 )
...
* Use EntityDescription - mhz19
* Fix tests
2021-08-25 13:52:59 +02:00
Erik Montnemery
bb42eb1176
Warn if a sensor with state_class_total has a decreasing value ( #55197 )
2021-08-25 13:01:55 +02:00
Erik Montnemery
ffbd2d79c8
Generate statistics for all sensors with a supported state_class ( #54882 )
...
* Generate statistics for all sensors
* Fix bugs, add tests
* Address review comments
* Cleanup warnings
* Simplify tests
* Simplify selection of statistics
* Fix tests
2021-08-25 13:00:35 +02:00
Børge Nordli
0d654fa6b3
Extract attribute names out of vol.Optional when validating entity service schema ( #55157 )
2021-08-25 13:00:11 +02:00
jan iversen
7df8d0c973
Check for duplicate host/port and integration name in modbus ( #54664 )
...
* Check for duplicate host/port and integration name.
* Change to use set().
* Please CI.
* Add basic tests.
2021-08-25 12:29:00 +02:00
Meow
a23f4dac62
Add service to clear completed shoppinglist items ( #55032 )
2021-08-25 12:26:37 +02:00
Matthias Alphart
51361fbd2b
Add configurable `state_class` to Modbus sensors ( #54103 )
...
* add configurable state_class
* Add test of new parameter.
Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-25 11:50:54 +02:00
Klaas Schoute
49041b1469
Add account type to Forecast.Solar integration ( #55175 )
2021-08-25 11:16:23 +02:00
Marc Mueller
4036ba82fe
Remove temperature conversion - mhz19 ( #55164 )
2021-08-25 10:29:59 +02:00
Paulus Schoutsen
1e05c81fe6
Fix recorder test ( #55169 )
...
Co-authored-by: Erik <erik@montnemery.com>
2021-08-25 08:48:13 +02:00
Aaron Bach
24d017f974
Add ability to configure OpenUV "protection window" UV indices ( #54562 )
2021-08-24 15:37:50 -05:00
Alexei Chetroi
289734c748
Update ZHA config entry radio detection ( #55128 )
2021-08-24 15:25:31 -05:00
Milan Meulemans
8570502681
Convert Nanoleaf yaml and discovery to config flow ( #52199 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 14:09:36 -05:00
Alexei Chetroi
2927dcd809
Use a debouncer when updating ZHA group state ( #53263 )
2021-08-24 10:09:36 -07:00
Erik Montnemery
38f0020619
Improve Tasmota MQTT discovery flow ( #55147 )
2021-08-24 18:08:17 +02:00
Erik Montnemery
2c997586eb
Deduplicate code in MQTT alarm_control_panel tests ( #55149 )
2021-08-24 18:06:39 +02:00
Erik Montnemery
fa9f91325c
Allow small dip in total_increasing sensor without detecting a reset ( #55153 )
2021-08-24 17:23:55 +02:00
Erik Montnemery
8877f37da0
Fix statistics for sensors setting last_reset ( #55136 )
...
* Re-add state_class total to sensor
* Make energy cost sensor enforce state_class total_increasing
* Drop state_class total
* Only report energy sensor issues once
2021-08-24 17:02:34 +02:00
jan iversen
de7352dbde
Convert template/vacuum to pytest with fixtures ( #54841 )
2021-08-24 14:11:40 +02:00
Erik Montnemery
828d862339
Fix Tasmota MQTT discovery flow ( #55140 )
2021-08-24 13:23:26 +02:00
posixx
547ede1e91
Implementation of new Vacation mode for MQTT-based alarm panels ( #53561 )
...
* Impelentation of new Vacation Mode for MQTT-based alarm panels
* Fixed typo
* another typo fix
* Split integrations: remove manual_mqtt
* added newline
* Impelentation of new Vacation Mode for MQTT-based alarm panels
* Fixed typo
* another typo fix
* Split integrations: remove manual_mqtt
* added newline
* missing abbreviation
* Fix tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-24 13:22:49 +02:00
jjlawren
d5fe7e0e5a
Fallback to try all known Plex servers if none marked present ( #53643 )
2021-08-24 12:05:24 +02:00
Matthias Alphart
19d81af4c1
Test KNX fan ( #53621 )
2021-08-24 12:00:37 +02:00
Jan Bouwhuis
5bb9aa8f3d
Remove MQTT Fan legacy speeds ( #54768 )
...
* Remove MQTT Fan legacy speeds
* deprecated attibutes are not disruptive
2021-08-24 11:21:35 +02:00
J. Nick Koston
dc851b9dd5
Ensure camera scaling always produces an image of at least the requested width and height ( #55033 )
2021-08-24 10:44:12 +02:00