Martin Hjelmare
028a3d3e53
Complete mysensors sensor coverage ( #54471 )
2021-08-11 17:19:02 +02:00
J. Nick Koston
1e14b3a0ac
Ensure camera handles non-jpeg image sources correctly ( #54474 )
2021-08-11 08:12:46 -07:00
jan iversen
4ef9269790
Replace prepare_service_call with a simpler fixture in modbus ( #53975 )
...
* Convert prepare_service_call to a fixture.
2021-08-11 12:42:28 +02:00
Joakim Sørensen
2f5c3c08ef
Use monitor name for uptimerobot device registry ( #54456 )
2021-08-11 11:27:41 +02:00
jan iversen
2d669a4613
Remove legacy code. ( #54452 )
2021-08-11 11:07:04 +02:00
Erik Montnemery
4e07ab1b32
Move temperature conversions to sensor base class (1/8) ( #48261 )
...
* Move temperature conversions to entity base class (1/8)
* Update integrations a-c
* Leave old temperature conversion until all integrations are migrated
* tweak
* Use contextlib.suppress
* Remove the MeasurableUnitEntity mixin
* Address comments, add tests
* Fix f-string
* Drop deprecation warning from base entity class
* Update with _attr-shorthand
* Fix rebase mistakes
* Fix additional rebase mistakes
* Only report temperature conversion once
* Fix additional rebase mistakes
* Format homeassistant/components/bbox/sensor.py
* Fix check for overidden _attr_state
* Remove test workarounds from implementation
* Remove useless None-check
* Tweaks
* Migrate new sensors a-c
* Update climacell
* Push deprecation of temperature conversion forward
* Override __repr__ in SensorEntity
* Include native_value in SensorEntity attributes
* Pylint
* Black
* Black
* Fix rebase mistakes
* black
* Fix rebase mistakes
* Revert changes in august/sensor.py
* Revert handling of unit converted restored state
* Apply code review suggestion
* Fix arlo test
2021-08-11 10:45:05 +02:00
J. Nick Koston
4d40d95848
Add support for width and height to ffmpeg based camera snapshots ( #53837 )
2021-08-10 20:31:11 -05:00
J. Nick Koston
d0b11568cc
Ensure HomeKit passes min/max mireds as ints ( #54372 )
2021-08-10 20:28:01 -05:00
J. Nick Koston
e99576c094
Pass width and height when requesting camera snapshot ( #53835 )
2021-08-10 19:33:06 -05:00
J. Nick Koston
4ae6435a64
Avoid increasing yeelight rate limit when the state is already set ( #54410 )
2021-08-10 15:17:49 -07:00
J. Nick Koston
4da451fcf7
Improve HomeKit Color with Color Temp implementation ( #54371 )
2021-08-10 15:16:51 -07:00
J. Nick Koston
4bde4504ec
Add api to device_automation to return all matching devices ( #53361 )
2021-08-10 14:21:34 -05:00
Dror Eiger
7e211965e4
Update the Qubino Flush Shutter fixture ( #54387 )
2021-08-10 10:31:55 -04:00
Joakim Sørensen
d1ea38e8f0
Add 100% test coverage for Uptime Robot ( #54314 )
...
* Add 100% test coverage for Uptime Robot
* Update tests/components/uptimerobot/test_binary_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add more typehints
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-10 16:29:51 +02:00
Joakim Sørensen
cf8f27bb44
Adjust version tests ( #54391 )
...
* Adjust version tests
* patch local import
2021-08-10 15:03:34 +02:00
Joakim Sørensen
8cb3a485e0
Fix Canary sensor state ( #54380 )
2021-08-10 09:19:28 +02:00
Paulus Schoutsen
38a7bdbcf3
Do not process forwarded for headers for cloud requests ( #54364 )
2021-08-10 01:45:56 +02:00
Joakim Sørensen
d80da944a3
Version sensor entity cleanup ( #53915 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-10 01:24:18 +02:00
J. Nick Koston
25f3cdde50
Add powerwall import and export sensors ( #54018 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-09 16:03:22 -07:00
Richard T. Schaefer
3184f0697f
Add Save Persistent States service ( #53881 )
2021-08-10 00:38:56 +02:00
J. Nick Koston
74a30af79b
Always set interfaces explicitly when IPv6 is present ( #54268 )
2021-08-09 21:13:55 +02:00
starkillerOG
a23da30c29
Yeelight local push updates ( #51160 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-09 13:33:34 -05:00
Diogo Gomes
b88f0adbe9
Restores unit_of_measurement ( #54335 )
2021-08-09 19:48:01 +02:00
Chris
188919f079
Clean up zwave_js RGB code ( #54336 )
2021-08-09 18:45:12 +02:00
Franck Nijhof
1c7891fbee
Remove deprecated YAML configuration from Growatt ( #54325 )
2021-08-09 14:54:42 +02:00
Raman Gupta
c79ee53ab1
Use dict for zwave_js siren.available_tones ( #54305 )
...
* Use dict for zwave_js siren.available_tones
* update siren.turn_on service description
2021-08-09 13:29:17 +02:00
Chris
3742333a89
Remove zwave_js transition on individual color channels ( #54303 )
2021-08-09 13:21:41 +02:00
jan iversen
9b7b787fe4
Remove icon where device_class is defined. ( #54323 )
2021-08-09 13:13:11 +02:00
jan iversen
6ea50823c1
Use SensorEntityDescription for arlo ( #54223 )
...
* Use SensorEntityDescription.
2021-08-09 12:16:35 +02:00
jan iversen
e7f0768ae6
Convert base_config_test in modbus to existing Pytest.fixture ( #53836 )
...
* Convert base_config_test to pytest.fixture.
2021-08-09 12:11:54 +02:00
Martin Hjelmare
a1abd4f0d6
Fix external internal url core check ( #54310 )
2021-08-09 10:52:14 +02:00
Paulus Schoutsen
952d11cb03
Ensure internal/external URL have no path ( #54304 )
...
* Ensure internal/external URL have no path
* Fix comment typo
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-09 09:38:09 +02:00
Raman Gupta
2e903c92c4
Add siren support for available tones provided as a dict ( #54198 )
...
* Add siren support for available tones provided as a dict
* remove paranthesis
* hopefully make logic even easier to read
* drop last parenthesis
2021-08-09 00:41:51 -04:00
Paulus Schoutsen
557cc792e9
Fix SQLAlchemy test warnings ( #54116 )
2021-08-08 20:33:47 -07:00
Allen Porter
160bd74bae
Update DeviceInfo static types ( #54276 )
...
* Update nest static types from aditional PR feedback
Update nest and device helper static types based on post-merge discussion in PR #53475
* Remove unused type: ignore in synology
* Remove check for None device type
Remove check for None device type in order to reduce untested code as this is
a case not allowed by the nest python library.
2021-08-08 19:24:36 -07:00
Joakim Sørensen
89bb95b0be
Add re-authentication to Uptime Robot ( #54226 )
...
* Add reauthentication to Uptime Robot
* Fix en strings
* format
* Fix docstring
* Remove unused patch
* Handle no existing entry
* Handle account mismatch during reauthentication
* Add test to validate reauth is triggered properly
* Test reauth after setup
* Adjust tests
* Add full context for reauth init
2021-08-08 15:41:05 +02:00
rjulius23
7d29eb282b
Add enumerate to builtins in python_script component ( #54244 )
2021-08-07 22:02:20 -07:00
Dermot Duffy
75726a2695
Don't block motionEye setup on NoURLAvailableError ( #54225 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-07 21:29:52 -07:00
jan iversen
2232915ea8
Add parameter to delay sending of requests in modbus ( #54203 )
2021-08-07 21:10:08 -07:00
Niccolo Zapponi
483a4535c8
Handle software version being None when setting up HomeKit accessories ( #54130 )
...
* Convert all HomeKit service info to string prior to checking for max length
* Added check for None software version
* Added test case for numeric version number
* Update tests/components/homekit/test_accessories.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix style & none version test
* Fix test
* revert other change since it should be covered by the format_sw_version fix
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-06 09:34:42 -07:00
Tom Brien
d842fc288f
Ignore Coinbase vault wallets ( #54133 )
...
* Exclude vault balances
* Update option flow validation
* Update test name
* Add missed check
* Fix dangerous default
2021-08-06 09:34:21 -07:00
Raj Laud
2db278a7a7
Fix Squeezebox dhcp discovery ( #54137 )
...
* Fix Squeezebox dhcp discovery and allow ignore
* Test ignoring known Squeezebox players
* Fix linter errors
2021-08-06 09:29:52 -07:00
J. Nick Koston
5f790f6bd9
Fetch interface index from network integration instead of socket.if_nametoindex in zeroconf ( #54152 )
2021-08-06 09:15:35 -07:00
Matthias Alphart
ab34ef475e
Test KNX binary sensor ( #53820 )
...
* test binary_sensor
* test binary_sensor with reset_after
2021-08-05 23:33:20 -05:00
Matthias Alphart
8ead20a76b
Test knx sensor ( #54090 )
2021-08-05 23:26:02 -05:00
J. Nick Koston
adc9f75493
Increase time before scene and script HomeKit entities are reset ( #54105 )
2021-08-05 19:24:24 -07:00
Paulus Schoutsen
8377b557da
Packages to support config platforms ( #54085 )
2021-08-05 13:11:01 -07:00
J. Nick Koston
26cb588ee2
Handle empty software version when setting up HomeKit ( #54068 )
...
Fixes #54059 Fixes #54024
2021-08-05 10:47:14 -07:00
Joakim Sørensen
786a83f844
Add unique_id to Uptime Robot config_flow ( #54055 )
2021-08-05 14:58:29 +02:00
Milan Meulemans
debcc6689f
Activate mypy for Cloudflare ( #54041 )
2021-08-05 13:01:12 +02:00
Gleb Sinyavskiy
25eb27cb9f
Add tractive integration ( #51002 )
...
* Scaffold
* Implement config flow
* Add dymmy device tracker and TractiveClient
* Add simple DeviceTracker
* Add device info
* Listen to tractive event and update tracker entities accordingly
* Refactoring
* Fix logging level
* Handle connection errors
* Remove sleep
* Fix logging
* Remove unused strings
* Replace username config with email
* Update aiotractive
* Use debug instead of info
* Cover config_flow
* Update .coveragerc
* Add quality scale to manifest
* pylint
* Update aiotractive
* Do not emit SERVER_AVAILABLE, properly handle availability
* Use async_get_clientsession
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* Add @Danielhiversen as a codeowner
* Remove the title from strings and translations
* Update homeassistant/components/tractive/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Force CI
* Use _attr style properties instead of methods
* Remove entry_type
* Remove quality scale
* Make pyupgrade happy
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-05 12:47:42 +02:00
Joakim Sørensen
4a37ff2dda
Bump pyuptimerobot to 21.8.1 ( #53995 )
...
* Bump pyuptimerobot to 21.08.0
* pylint
* bump to 21.8.1
* Uppdate strings
* Update homeassistant/components/uptimerobot/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-05 12:13:47 +02:00
Joakim Sørensen
caf0bdd5b9
Add config flow to uptimerobot ( #53938 )
2021-08-04 22:20:03 +02:00
Alex Henry
b77335d6f9
Fix Panasonic Viera TV going unavailable when turned off ( #53788 )
2021-08-04 12:44:16 +02:00
Jan Bouwhuis
8f014361d4
Validate Number value before calling entity method ( #52343 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-04 11:57:26 +02:00
Jan Bouwhuis
8299d0a7c3
Validate Select option before calling entity method ( #52352 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-04 11:12:42 +02:00
Matt Zimmerman
515a47212e
Add target high/low temperatures to prometheus integration ( #50071 )
...
* add target high/low temperatures to prometheus integration
* use labels
* Revert "use labels"
This reverts commit 09c56d6359
.
* fix naming
* tests
* cleanup
* use three separate metrics
* fix descriptions
2021-08-04 07:42:47 +02:00
Martin Hjelmare
c959a0a484
Limit zwave_js meter sensor last reset ( #53921 )
2021-08-03 22:50:14 +02:00
J. Nick Koston
df03cce471
Enforce maximum length for HomeKit characteristics ( #53913 )
2021-08-03 10:09:10 -07:00
Joakim Sørensen
56360feb9a
Stream API requests to the supervisor ( #53909 )
2021-08-03 16:48:22 +02:00
Jc2k
081b2d533b
Add support for Eve Degree's air pressure sensor ( #53891 )
2021-08-03 07:30:50 -05:00
Joakim Sørensen
3f2e18fe17
Add user to homeassistant system health ( #53902 )
2021-08-03 11:58:27 +02:00
Chris
cfc5111561
Handle powerConsumption reports with null value ( #53888 )
2021-08-02 20:50:57 -07:00
Aidan Timson
18f4d125c3
System Bridge v2.3.0+ - Data from WebSocket ( #53443 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-02 22:11:26 +02:00
Jc2k
d414b58769
Fix watts unit for homekit_controller power sensors ( #53877 )
2021-08-02 10:47:11 -07:00
Joakim Sørensen
c3d623a37e
Fix issue when data is None ( #53875 )
2021-08-02 19:35:11 +02:00
Michael
b2725918b1
Fix TP-Link smart strip devices ( #53799 )
2021-08-02 09:47:54 -07:00
Joakim Sørensen
1c38e9168c
Add base energy analytics ( #53855 )
2021-08-02 09:46:07 -07:00
Michael
bffa9f960d
Add state class measurement to all suitable sensors on Speedtest.net ( #53693 )
...
* Add state class measurement
* use tuple instead of list
2021-08-02 17:00:25 +02:00
Michael
4241c4ca5b
Fix crash when AVM FRITZ!SmartHome devices are unreachable ( #53809 )
2021-08-02 16:13:54 +02:00
Milan Meulemans
8ab3d9cc12
Use homeassistant.const instead of integration const for device_info ATTR_ ( #53703 )
2021-08-02 15:11:41 +02:00
Graham Rogers
4f96f05a75
Improve Universal media player toggle default behavior ( #49395 )
...
Before it could not be overridden and the default behavior meant nothing was called when all children were off, so it could not be used to turn on the media player. The new default behavior is to delegate to `turn_on` and `turn_off` instead, which is more likely to be the expected behavior.
2021-08-02 15:10:56 +02:00
J. Nick Koston
65c6943784
Bump HAP-python to 4.0.0 ( #53780 )
2021-08-02 15:08:32 +02:00
Joakim Sørensen
da3419945c
Rename snapshot -> backup ( #53851 )
2021-08-02 11:07:21 +02:00
Jc2k
73bc62949b
Fix error in homekit_controller causing some entities to get an incorrect unique id ( #53848 )
2021-08-01 20:59:32 -07:00
Chris
8ac1f5d28a
Add energy consumption sensors to smartthings devices ( #53759 )
2021-08-01 20:35:03 -07:00
B-Hartley
736fb2e90d
ForecastSolar - power production now w not k w ( #53797 )
2021-08-01 15:01:34 -07:00
Michael
da1a9bcbf0
Do not block setup of TP-Link when device unreachable ( #53770 )
2021-08-01 14:58:55 -07:00
Paulus Schoutsen
370799bd22
Revert "Improve light scene support for white mode ( #53768 )" ( #53782 )
...
This reverts commit 6ffe0f6405
.
2021-07-30 21:10:32 -07:00
Paulus Schoutsen
90cf94bb30
Bump Hue and only fire events for button presses ( #53781 )
...
* Bump Hue and only fire events for button presses
* Fix tests
2021-07-30 14:14:58 -07:00
Erik Montnemery
6ffe0f6405
Improve light scene support for white mode ( #53768 )
2021-07-30 12:47:26 -07:00
J. Nick Koston
72bd3f7128
Bump HAP-python to 3.6.0 ( #53754 )
2021-07-30 12:44:28 -07:00
Joakim Sørensen
a9722c90e9
Revert "Rename snapshot -> backup" ( #53751 )
...
This reverts commit 9806bda272
.
2021-07-30 12:44:10 -07:00
Tobias Sauerwein
8e61ed39fd
Fix flaky netatmo tests ( #53644 )
2021-07-30 20:07:23 +02:00
Diogo Gomes
028f6c4cac
fix flakky test ( #53750 )
2021-07-30 07:11:58 -07:00
epenet
bb7236fd04
Use constants for device_info in Onewire integration ( #53724 )
2021-07-30 13:35:49 +02:00
Paulus Schoutsen
2cbcd5f2a9
Cost sensor handle consumption sensor in Wh ( #53746 )
2021-07-30 11:00:52 +02:00
epenet
87dab02ce6
Remove YAML configuration from onewire ( #53728 )
2021-07-29 22:12:00 -07:00
Michael
692665e46c
Apply left suggestions #53596 for TP-Link ( #53737 )
2021-07-29 22:11:15 -07:00
Michael
2b2cddb5f0
Extract smartthings switch energy attributes into sensors ( #53719 )
2021-07-29 21:50:02 -07:00
Robert Svensson
edf0e0bd08
Add energy device class to deCONZ consumption sensors ( #53731 )
2021-07-29 16:16:08 -07:00
Martin Hjelmare
6d30e596ca
Fix zwave_js current and voltage meter sensor device class ( #53723 )
2021-07-29 14:26:57 -07:00
Paulus Schoutsen
6b7a4d2d3c
Revert "Allow uploading large snapshots ( #53528 )" ( #53729 )
...
This reverts commit cdce14d63d
.
2021-07-29 14:26:05 -07:00
Martin Hjelmare
3c0e4b1fd9
Fix zwave_js meter sensor state class ( #53716 )
2021-07-29 12:25:43 -07:00
Robert Svensson
c6213b36ad
Only disable a device if all associated config entries are disabled ( #53681 )
2021-07-29 12:08:53 -07:00
Martin Hjelmare
007ecc51e5
Revert "Add Automate Pulse Hub v2 support ( #39501 )" ( #53704 )
2021-07-29 11:58:48 -07:00
Michael
2b0b8736f2
Set state class measurement also for Total Energy for AVM Fritz!Smarthome devices ( #53707 )
2021-07-29 11:54:51 -07:00
Daniel Hjelseth Høyer
6590e464af
Integration. Add device class, last_reset, state_class ( #53698 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-29 20:05:53 +02:00
Michael
bedb9550f5
Move TP-Link power and energy switch attributes to sensors ( #53596 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 11:02:47 -07:00
J. Nick Koston
219348d573
Skip each ssdp listener that fails to bind ( #53670 )
2021-07-29 18:07:52 +02:00