aschmitz
a766b41b13
Add basic Aranet integration ( #80865 )
2022-10-30 22:50:46 -05:00
Allen Porter
ba8fd6b01e
Google calendar test cleanup, avoiding dupe config entry setup ( #81256 )
2022-10-30 23:07:10 +01:00
Maciej Bieniek
ec038835f6
Catch `ApiError` while checking credentials in NAM integration ( #81243 )
...
* Catch ApiError while checking credentials
* Update tests
* Suggested change
2022-10-30 20:01:10 +01:00
Stackie Jia
a1eec7b55d
Expose NO2 and VOCs sensors to homekit ( #81217 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-30 11:33:06 -05:00
Jc2k
eb76f9b3cb
Set the correct state class for Eve Energy in homekit_controller ( #81255 )
2022-10-30 10:32:19 -05:00
G Johansson
662aee17a6
Scrape move yaml config to integration key ( #74325 )
...
* Scrape take 2
* cleanup
* new entity name
* Fix name, add tests
* Use FlowResultType
* Add test abort
* issue
* hassfest
* Remove not needed test
* clean
* Remove config entry and implement datacoordinator
* fix codeowners
* fix codeowners
* codeowners reset
* Fix coordinator
* Remove test config_flow
* Fix tests
* hassfest
* reset config flow
* reset strings
* reset sensor
* next version
* Reconfig
* Adjust sensor
* cleanup sensor
* cleanup init
* Fix tests
* coverage
* Guard against empty sensor
* naming
* Remove coverage
* Review comments
* Remove print
* Move sensor check
2022-10-30 13:02:11 +01:00
Garrett
494cbf0dbe
Add diagnostics to Subaru integration ( #81169 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-29 15:02:32 -05:00
Maciej Bieniek
19debda059
Bump nettigo-air-monitor to 1.5.0 ( #81183 )
...
* Bump NAM library
* Update tests
2022-10-29 14:43:02 +02:00
Paulus Schoutsen
a786b32857
Set date in test to fixed one ( #81175 )
2022-10-28 23:58:02 -04:00
Shay Levy
9dedbb2a24
Add diagnostics to Switcher ( #81146 )
2022-10-28 22:05:21 -04:00
Kevin Stillhammer
77585686e0
Allow empty string for filters for waze_travel_time ( #80953 )
...
* Allow empty string for filters
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
* Apply PR feedback
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-10-28 21:01:53 -04:00
Robert Hillis
6225f1f737
Bump aiopyarr to 22.10.0 ( #81153 )
2022-10-28 17:25:44 -05:00
javicalle
4dbb265590
Fix RFLink unit conversions ( #79436 )
...
* Fix unit conversions
* Fix tests
* Address requests changes
* Address requests changes
* Address requests changes
* Address requests changes
* migrate to SensorEntityDescription
* forgotten test
* forgotten test
* chango to WIND_SPEED
* manage UOM
* fix test
* address comments
* fix implementation
* prevent from mutate config
2022-10-29 00:20:26 +02:00
Jan Bouwhuis
bcae6d604e
Improve MQTT type hints part 8 ( #81034 )
...
* Improve typing device_tracker discovery
* Improve typing device_tracker yaml
* Add test source_type attribute
* Follow up comment
* Initialize at `__init__` not at class level.
* Use full name for return variable
* Correct import, remove assert
* Use AsyncSeeCallback
2022-10-28 18:20:33 +02:00
Maciej Bieniek
11ea834cbe
Improve MQTT update platform ( #81131 )
...
* Allow JSON as state_topic payload
* Add title
* Add release_url
* Add release_summary
* Add entity_picture
* Fix typo
* Add abbreviations
2022-10-28 17:05:43 +02:00
Shay Levy
a34148104a
Add diagnostics to webostv ( #81133 )
2022-10-28 14:48:16 +02:00
Jan Bouwhuis
f10f74a65a
Add default `source_type` for MQTT device_tracker ( #81128 )
...
Make sure the source_type is set - default to gps
2022-10-28 10:49:01 +02:00
Glenn Waters
5eb3473d41
Add diagnostics to Environment Canada integration ( #79517 )
...
* Add diagnostics to EC integration.
* Add test for diagnostics.
* Simplify diagnostics returned.
* Fix for comment.
* Update datetime to fixed date.
2022-10-28 06:38:11 +02:00
Matthias Alphart
428a33c00f
Migrate KNX to use kelvin for color temperature ( #81112 )
2022-10-27 16:00:34 -04:00
Erik Montnemery
68346599d2
Add WS API recorder/statistic_during_period ( #80663 )
2022-10-27 15:51:09 -04:00
J. Nick Koston
c21fb222f9
Add support for oralb IO Series 4 ( #81110 )
2022-10-27 15:38:42 -04:00
Tobias Sauerwein
fa350b984a
Clean up superfluous Netatmo API calls ( #81095 )
2022-10-27 14:42:16 -04:00
epenet
3d42a46871
Align Scrape resource model with Rest integration ( #81074 )
2022-10-27 17:48:35 +02:00
Aaron Bach
4e8e53f357
Remove previously-deprecated OpenUV services ( #81055 )
2022-10-27 10:22:44 +02:00
shbatm
e785d04abf
Add RainMachine config option to use default run times from app ( #80984 )
2022-10-26 22:27:08 -06:00
puddly
b8edc86500
Handle sending ZCL commands with empty bitmap options ( #81051 )
...
Handle sending commands with empty bitmaps
2022-10-26 21:29:48 -04:00
J. Nick Koston
d381be3868
Fix homekit diagnostics test when version changes ( #81046 )
2022-10-26 22:50:59 +02:00
Steven Looman
d50795af2b
Move upnp derived sensors to library, be more robust about failing getting some data ( #79955 )
2022-10-26 14:34:44 -05:00
Erik Montnemery
95fc641949
Add support to the energy integration for tracking water usage ( #80888 )
2022-10-26 21:20:52 +02:00
Erik Montnemery
a4310d2085
Allow integrations to drop custom unit conversion ( #81005 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-26 15:11:28 -04:00
epenet
2a2e097e17
Use unit enums in unit utilities ( #81030 )
2022-10-26 20:47:17 +02:00
Daniel Gangl
b2b3c47917
Add config flow to zamg ( #66469 )
2022-10-26 18:35:12 +02:00
Michał Huryn
a1c18b06fb
Blebox typehints in binary sensor tests ( #80676 )
2022-10-26 18:20:49 +02:00
J. Nick Koston
a72e906ac1
Fix zeroconf when location name has a period ( #81022 )
2022-10-26 10:39:13 -05:00
epenet
3eb574edca
Remove YAML import from coinbase ( #80084 )
2022-10-26 17:14:31 +02:00
Martin Hjelmare
a1a0284e81
Fix zwave_js port enumeration ( #81020 )
2022-10-26 10:12:30 -05:00
J. Nick Koston
abb3ce6d69
Fix zeroconf starting later than expected ( #81023 )
2022-10-26 10:06:56 -05:00
Allen Porter
0e2bea038d
Update Google Calendar to synchronize calendar events efficiently ( #80925 )
...
* Sync google calendar and serve from local storage
Update to use new gcal_sync APIs
Update google calendar filter logic
Remove storage on config entry removal
Make timeline queries timezone aware
Do not block startup while syncing
* Minor readability tweaks
* Remove unnecessary args to async_add_entities
* Change how task is created on startup
* Update homeassistant/components/google/calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Revert min time between updates
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-26 07:57:49 -07:00
Avi Miller
dde763418a
Add an RSSI sensor to the LIFX integration ( #80993 )
2022-10-26 09:12:45 -05:00
epenet
842cb18d39
Migrate energy units to an enum ( #80998 )
2022-10-26 13:56:51 +02:00
Maciej Bieniek
052c673c9e
Use `wind_speed` device class instead of `speed` in Accuweather ( #81016 )
2022-10-26 13:47:29 +02:00
Franck Nijhof
7a04ba96f3
Adjust unique ID of Octoprint camera entity ( #80996 )
2022-10-26 13:27:13 +02:00
G Johansson
9715b6c862
Remove yaml import anthemav ( #79931 )
2022-10-26 12:42:21 +02:00
G Johansson
be7e61b88b
Add unique id for min_max ( #81007 )
2022-10-26 11:27:44 +02:00
Erik Montnemery
352976fd1d
Add rules for converting volumes ( #80951 )
...
* Add rules for converting volumes
* Use SensorDeviceClass in new tests
* Tweak tests
* Update flo tests
* Update sensor tests
2022-10-26 10:29:33 +02:00
J. Nick Koston
e15f2e050e
Update ibeacon-ble to 1.0.1 ( #80785 )
2022-10-26 10:21:30 +02:00
J. Nick Koston
a90ef3a575
Add additional data to HomeKit diagnostics ( #80980 )
2022-10-26 10:05:33 +02:00
Rami Mosleh
a205ba7656
Remove deprecated YAML in `android_ip_webcam` ( #80875 )
2022-10-25 23:53:17 +02:00
Robert Svensson
115a1ceea0
Rewrite UniFi block client switch ( #80969 )
...
* Refactor UniFi block client switch entities
* Use new switch loader
* Rename lambdas
* Use is_on rather than _attr_is_on when applicable
2022-10-25 22:36:51 +02:00
Shay Levy
775f4e9e0d
Clean-up Shelly legacy update entities ( #80961 )
2022-10-25 21:27:54 +02:00
Michael
8175dab7ab
Add week period to recorder statistics api ( #80784 )
...
* add week period to get statistics api
* add test
2022-10-25 20:07:28 +02:00
Ryan Fleming
c197e1765a
Add Octoprint camera entity ( #79689 )
2022-10-25 19:59:57 +02:00
Petro31
f73fc9e355
Adds states and state_attr as a filter, adds is_state and is_state_attr as a test. ( #79473 )
2022-10-25 19:49:51 +02:00
Rami Mosleh
d3ada34498
Remove deprecate service in `speedtestdotnet` ( #80938 )
...
Remove deprecate service
2022-10-25 10:44:27 -07:00
epenet
870a5b6f37
Adjust formatting in unit system tests ( #80958 )
...
* Adjust black formatting in unit system tests
* Split tests
2022-10-25 17:36:21 +02:00
Thomas Dietrich
3346ddcd86
Add sum-differences characteristics to statistics component ( #79439 )
2022-10-25 16:46:47 +02:00
epenet
7838bb3ebe
Replace new PRECIPITATION_INTENSITY with enum ( #80653 )
2022-10-25 16:45:45 +02:00
Erik Montnemery
727eccfec4
Add GJ as supported unit for energy sensors ( #80870 )
...
* Add GJ as supported unit for energy sensors
* Update homeassistant/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-25 16:43:00 +02:00
epenet
0018939142
Adjust unit_system type hints ( #80946 )
2022-10-25 15:56:18 +02:00
Erik Montnemery
b07e1281da
Add rules for converting speeds ( #80943 )
...
* Add rules for converting speeds
* Update metoffice wind speed sensors to prefer mph
* Don't convert speeds measured in knots
2022-10-25 14:53:59 +02:00
Lars
1c8156bd33
Update Fritz! lights to use kelvin ( #79733 )
2022-10-25 13:45:02 +02:00
On Freund
64eb316908
Add alarmed binary sensor to Risco integration ( #77315 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-25 13:43:09 +02:00
Rami Mosleh
623abb4325
Remove deprecated YAML in Pushover ( #80876 )
2022-10-25 13:39:38 +02:00
Franck Nijhof
5b32540a84
Set water device class to flo, homewizard, p1_monitor, toon ( #80944 )
2022-10-25 13:21:47 +02:00
Parham Ghazanfari
dbfca8def8
Add support for EventBridge to aws integration ( #77573 )
...
* Added EventBridge support to aws integration
* Added type hints for all aws notification services + Added unit tests for EventBridge AWS integration
* Increase line coverage for unit tests for aws integration.
2022-10-25 13:21:25 +02:00
Erik Montnemery
aea0067e49
Add additional rules for converting distances ( #80940 )
...
* Add additional rules for converting distances
* Convert in to mm
* Adjust existing tests
* Add test
2022-10-25 12:51:23 +02:00
HarvsG
fe7402375d
Bayesian - support `unique_id:` ( #79879 )
...
* support unique_id
* adds test for unique_ids
2022-10-25 12:42:59 +02:00
Franck Nijhof
326344db12
Rename entry_id template method to config_entry_id ( #80935 )
2022-10-25 12:11:14 +02:00
Dave T
e5716efa9c
Add visual image preview during generic camera options flow ( #80392 )
...
Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-10-25 10:03:19 +02:00
Erik Montnemery
3d3349240f
Don't trigger statistics issues when sensor units are equivalent ( #80099 )
2022-10-25 09:50:01 +02:00
J. Nick Koston
559e281431
Add oralb integration ( #80918 )
...
* mapping
* update
* working
* tests
* fixes
* temp add binary sensor platform to make sure it works
* fixes
* 100% cover
* adjust
* disable chatty sensors by default
* remove binary sensor_platform for next PR
* time is much nicer than counter
2022-10-24 23:11:40 -05:00
Ongy
3759be09df
Add media_player platform to Jellyfin ( #76801 )
2022-10-24 21:45:01 -05:00
Shay Levy
dce4753510
Cleanup Shelly update platform ( #80845 )
2022-10-25 00:20:26 +03:00
Steven Looman
b5f70a404a
Fix SSDP/UPnP server after testing ( #80815 )
2022-10-24 15:19:19 -05:00
Erik Montnemery
f7694c0550
Only reload modified scripts ( #80470 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-24 20:47:06 +02:00
Martin Hjelmare
838691f22f
Refactor zwave_js add-on manager ( #80883 )
...
* Make addon slug an instance attribute
* Extract addon name and addon config
* Update docstrings
2022-10-24 18:21:05 +02:00
Jc2k
4279d73800
Add support for Netatmo noise sensor to homekit_controller ( #80889 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-24 10:31:26 -05:00
Erik Montnemery
6979cd95b0
Add suggested_unit_of_measurement attribute to sensors ( #80638 )
...
* Add suggested_unit_of_measurement attribute to sensors
* Lazy calculation of initial entity options
* Add type alias for entity options
* Small tweak
* Add tests
* Store suggested_unit_of_measurement in its own option key
* Adapt to renaming of IMPERIAL_SYSTEM
* Fix rebase mistakes
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-24 16:08:02 +02:00
epenet
ec4b8c49fe
Add unique_id to scrape ( #80581 )
...
* Add unique_id to scrape
* Add tests
2022-10-24 15:14:43 +02:00
epenet
64d6d04ade
Use DataUpdateCoordinator in scrape ( #80593 )
...
* Add DataUpdateCoordinator to scrape
* Fix tests
2022-10-24 14:55:57 +02:00
Joakim Plate
ebfb10c177
Allow hostname for nibe heatpump ( #80793 )
...
Allow hostname for nibe
2022-10-24 14:17:53 +02:00
Maciej Bieniek
1f0cb73ad0
Add `update` platform to MQTT integration ( #80659 )
2022-10-24 11:47:45 +02:00
Jan Bouwhuis
5e7f571f01
Move advanced MQTT options to entry ( #79351 )
...
* Move advanced broker settings to entry
* Add repair issue for deprecated settings
* Split CONFIG_SCHEMA
* Do not store certificate UI flags in entry
* Keep entered password in next dialog
* Do not process yaml config in flow
* Correct typo
2022-10-24 09:58:23 +02:00
Avi Miller
6e453ae471
Add device-specific diagnostics to the LIFX integration ( #79964 )
2022-10-23 22:49:18 -05:00
Garrett
073951177b
Code quality update for Subaru sensors ( #79482 )
...
* Use distance device class for sensors
* Change sensor name casing and unique_id
* Migrate sensor entity unique_id
* Match title-cased unique_id when migrating
* Remove unneeded regex to find '_' delimited id suffix
* Incorporate PR review comments
* Add check to prevent extra odometer entity migration
2022-10-24 01:54:22 +02:00
PeteRager
59b2869f6a
Fix oncue data unavailable when genset disconnected ( #80668 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-23 18:01:43 -05:00
Julian Löhr
6795627734
Add ZHA StartUpColorTemperature configuration entity ( #80853 )
...
* Add ZHA start up color temperature entity
* Use device reported min max values
* Add color number test
* Fix code style
2022-10-23 18:46:47 -04:00
Kevin Addeman
3f3518e29d
Fix Lutron Caseta area names by ignoring root area during area name retrieval ( #80576 )
2022-10-23 17:28:15 -05:00
Robert Svensson
03bf37e12c
Refactor UniFi DPI switch entities ( #80761 )
...
* Refactor UniFi DPI switch entities
* Remove dpi presence from items_added
2022-10-23 22:42:24 +02:00
Robert Svensson
d75834cd1e
Add presence duration number ( #79498 )
2022-10-23 22:30:03 +02:00
G Johansson
b04165b495
Add Sensibo Climate React ( #78221 )
2022-10-23 15:22:14 -05:00
Kevin Addeman
071f335fdb
Add dynamic generation of device triggers from keypad buttons ( #80797 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-23 14:57:04 -05:00
G Johansson
57b2bb4889
Add entity service - Set Full AC state to Sensibo ( #80820 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-23 13:55:53 -05:00
Robert Svensson
0444dd71a6
Refactor UniFi outlet switches ( #80738 )
...
* Rewrite UniFi outlet switches
* Bump aiounifi to v41
* Remove devices from items_added input
2022-10-23 20:28:45 +02:00
Avi Miller
2966f9ed8e
Add themes for LIFX multi-zone devices via a new select entity ( #80067 )
2022-10-23 11:28:17 -05:00
Bouwe Westerdijk
bd6678c73b
Bump plugwise to v0.25.3 ( #80782 )
2022-10-23 12:42:35 +02:00
Shay Levy
228d491216
Fix Shelly entry unload and add tests for init ( #80760 )
2022-10-22 09:00:35 +02:00
René Klomp
f21fabba17
Bump pysma to 0.7.1 ( #80601 )
...
* Bump pysma to 0.7.0
* Bump pysma to 0.7.1
* Fix test
2022-10-21 22:54:42 +02:00
J. Nick Koston
9c8a919e3f
Remove system_log missing format arg test ( #80739 )
2022-10-21 14:49:39 -04:00
starkillerOG
a2080492de
Remove Xiaomi Miio YAML import ( #78995 )
...
* Deprecate YAML import
* Add logging for unexpected errors
* remove unused import
* fix tests
* unused import
* fix tests
* fix snake_case
* Do not add to standard key string
2022-10-21 18:07:49 +02:00
Rami Mosleh
3aa24afad8
Retry setup in case of empty response from Pushover api ( #80602 )
...
Retry setup in case of empty response
2022-10-21 17:52:02 +02:00
Kevin Stillhammer
c70614fd7c
Move default options to config_flow for waze_travel_time ( #80681 )
...
Move default options to config_flow
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-10-21 08:02:41 -07:00
J. Nick Koston
fe67703e13
Log invalid messages instead of raising in system_log ( #80645 )
2022-10-21 10:52:03 -04:00
Allen Porter
69dab4acfe
Reduce unnecessary alarm firing to speed up calendar trigger test ( #80732 )
2022-10-21 10:47:37 -04:00
Timm Schäuble
e6892a613e
Bump simplepush to 2.1.1 ( #80608 )
...
* Update to new library version
* Remove test for removed send_encrypted function
* Bump simplepush to 2.1.1
2022-10-21 16:13:46 +02:00
Allen Porter
d1d218444b
Improve calendar trigger test quality ( #79451 )
...
Improve calendar test quality
2022-10-21 10:56:17 +02:00
Franck Nijhof
bb287dd0ed
Integrations v2.1: Virtual integrations ( #80613 )
2022-10-20 23:09:06 -04:00
Kevin Stillhammer
b35cfe711a
Move default option handling to config_flow for google_travel_time ( #80607 )
...
Move default option handling to config_flow
2022-10-20 19:32:45 -07:00
Aaron Bach
60b3d6816b
Replace custom OpenUV data object with coordinators ( #80705 )
...
* Replace custom OpenUV data object with coordinators
* Typing
* Code review
2022-10-20 19:37:20 -06:00
Chris Talkington
245c13e6ed
Add diagnostics to jellyfin ( #80651 )
2022-10-20 20:02:40 -05:00
J. Nick Koston
03362bec1c
Defer bluetooth scanner watchdog restart if one is already in progress ( #80679 )
2022-10-20 13:56:20 -05:00
Robert Svensson
92eaa539b6
Simplify mocking UniFi websocket ( #80652 )
...
* Simplify mocking UniFi websocket
* Fix one more
2022-10-20 19:37:13 +02:00
Kevin Stillhammer
8dd2d6f825
Remove deprecated yaml import for waze_travel_time ( #80669 )
...
Remove deprecated yaml import
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-10-20 08:17:21 -07:00
epenet
e84e5f134e
Use US_CUSTOMARY_SYSTEM in tests ( #80658 )
...
* Use US_CUSTOMARY_SYSTEM in tests
* Don't update test_unit_system
2022-10-20 15:42:23 +02:00
Michał Huryn
4e4682d2e0
Add blebox binary_sensor platform ( #79535 )
...
* Add binary_sensor platform, with test.
* Applied suggestions by @epenet
* refactor: as @epenet suggested, passing entity_description to init
* Update homeassistant/components/blebox/binary_sensor.py
@epenet suggestion, moved refactored logic of create_blebox_entities into BleBoxBinarySensorEntity init
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* refactor: as @epenet class selector and entity creation moved to binary_sensor
* refactor: list comprehension in entity list setup in binary sensor
* Update homeassistant/components/blebox/binary_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-20 14:35:28 +02:00
Shay Levy
aea7a9af18
Bump aioshelly to 4.0.0 ( #80423 )
...
* Bump aioshelly to 4.0.0
* Remove leftover
* Fix number platform
* Set last_update_success to false upon failure in number and climate
* Set last_update_success upon failurie in entity
2022-10-20 15:08:48 +03:00
Avishay
ae7eb9cef9
Add mode control for Modbus climate entities ( #73906 )
...
* Add support for Modbus HVAC control registers
2022-10-20 13:15:30 +02:00
epenet
b23a66d776
Add websocket type hints in entity_registry ( #80657 )
...
* Add websocket type hints in entity_registry
* Adjust websocket_list_entities
* Fix update
* Fix websocket_update_entity
* Apply suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Apply suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-20 12:20:39 +02:00
epenet
8a1cc05e0c
Enforce kwargs in unit system initialisation ( #80620 )
...
* Enforce kwargs in unit system initialisation
* Fix tests
* Sort kwargs in unit_system
2022-10-20 10:43:32 +02:00
Robert Svensson
d0ed4b1ff2
Replace constants with enums in UniFi ( #80637 )
...
Replace constants with enums
Fix bad imports
2022-10-20 00:10:01 +03:00
uvjustin
eb141a532c
Bump ha-av to v10.0.0 ( #80514 )
2022-10-20 00:06:49 +03:00
Robert Svensson
04cdcad7f8
Expose UniFi PoE ports as individual switches ( #80566 )
...
* Add simple PoE control switches
* Add basic tests
* Complete testing
* Dont use port.up as part of available
* Bump aiounifi to v40
2022-10-19 19:54:40 +02:00
epenet
374d46ec09
Improve type hints in blebox ( #80511 )
...
* Add generics to blebox
* Remove walrus
* Move logic into each platform
* Code style
* Apply suggestion
2022-10-19 17:49:40 +02:00
Franck Nijhof
6ea6782d23
Add buttons to dismiss notifications in LaMetric ( #80605 )
2022-10-19 17:46:54 +02:00
epenet
9afb4c6c9e
Adjust precipitation units ( #79780 )
...
* Adjust precipitation units
* Use PRECIPITATION_INTENSITY
* Revert isy994
* Adjust SensorDeviceClass docstring
* Adjust comment
2022-10-19 14:35:49 +02:00
epenet
67d1dde69f
Rename IMPERIAL_SYSTEM to US_CUSTOMARY_SYSTEM ( #80253 )
...
* Rename IMPERIAL_SYSTEM
* Deprecate is_metric property and adjust tests
* Adjust unit_system config validation
* Add yaml tests
* Add tests for private name
* Fix incorrect rebase
* Adjust docstring
* Add store migration
* Update unit_system.py
* Minimise test tweaks
* Fix tests
* Add conversion to migration
* Rename new key and adjust tests
* Adjust websocket_detect_config
* Move original_unit_system tracking to subclass
2022-10-19 13:31:08 +02:00
Erik Montnemery
f4951a4f31
Add CI job which runs recorder tests on MariaDB ( #80586 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-19 13:04:28 +02:00
Franck Nijhof
c4bbc439a5
Integrations v2.1: Differentiating hubs, devices and services ( #80524 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-19 12:41:43 +02:00
Bouwe Westerdijk
0c8884fd51
Add sensor, selector and switch for Plugwise Anna + Loria combination ( #80558 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-10-19 11:26:27 +02:00
Erik Montnemery
31a787558f
Ensure recorder test fixture is setup before hass fixture ( #80528 )
...
* Ensure recorder test fixture is setup before hass fixture
* Adjust more tests
2022-10-19 07:58:47 +02:00
Franck Nijhof
e3919babb2
Add chart service to LaMetric ( #80554 )
2022-10-18 19:36:19 -06:00
Patrick ZAJDA
a717ea8afc
Migrate Broadlink to new entity naming style ( #80187 )
...
* Migrate Broadlink to new entity naming style
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Add some tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
2022-10-18 22:09:23 +02:00
Shay Levy
8e9457d808
Add Shelly support for sleeping Gen2 devices ( #79889 )
2022-10-18 22:42:22 +03:00
Aaron Bach
78e66b6cbe
Add diagnostics to Enphase Envoy ( #79950 )
...
* Streamline Enphase Envoy config flow tests
* Don't test data results using constants
* Add diagnostics to Enphase Envoy
* Use whole config entry
* Redact serial number
* One call
2022-10-18 10:25:07 -06:00
Aaron Bach
414d478d3e
Ensure Enphase Envoy test fixtures aren't session-scoped ( #80499 )
...
* Ensure Enphase Envoy test fixtures aren't session-scoped
* Code review
2022-10-18 10:24:49 -06:00
Aaron Bach
1cf801afbc
Remove unnecessary session scoping to several test fixtures ( #80500 )
...
Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-10-18 18:06:23 +02:00
epenet
c37e4b870f
Move attribution to standalone attribute [r-s] ( #80520 )
...
* Move attribution to standalone attribute [r-s]
* Fix test
2022-10-18 13:33:20 +02:00
Willem-Jan van Rootselaar
1fe397f7d7
Update bsblan integration ( #67399 )
...
* Update bsblan integration
Update the integration to current standards
* removed unused code
update coverage
* some cleanup
* fix conflicts due upstream changes
* fix prettier json files
* fix remove comment code
* use dataclass instead of tuple
* fix spelling
* Set as class attribute
main entity doesn't need to give own name
* fix requirements
2022-10-18 12:06:51 +02:00
jjlawren
c1213857ce
Fix Plex reauth with multiple available servers ( #80508 )
2022-10-18 11:51:43 +02:00
Nippey
0e1fe4eba5
Modbus: Add support for Holding Registers to Binary Sensor ( #80460 )
...
Update handling of binary sensors to support reading from holding registers (command 0x03).
2022-10-18 10:31:08 +02:00
Raman Gupta
d4c28e04e4
Reduce missed coverage in zwave_js ( #79571 )
...
* Reduce missed coverage in zwave_js.climate and cover
* Add switch platform coverage
* Add select platform
* Add lock platform
* Remove one line of coverage from number platform
* update docstring
2022-10-18 10:06:29 +02:00
J. Nick Koston
f70f972d88
Fix connectable Bluetooth devices not being seen if the nearest scanner is non-connectable ( #80388 )
...
If we saw the non-connectable scanner advertisement first we would reject
the connectable scanner advertisement because it had worse signal strength.
In this case we need to check both
2022-10-17 21:13:26 -04:00
uvjustin
d38d21ab3a
Fix stream recorder with orientation transforms ( #80370 )
...
Find moov instead of using fixed location
2022-10-17 21:12:45 -04:00
Erik Montnemery
416aad32cc
Don't mock out migration in recorder tests ( #80480 )
2022-10-17 22:17:08 +02:00
Aaron Bach
72f4665d33
Streamline Enphase Envoy config flow tests ( #79914 )
...
* Streamline Enphase Envoy config flow tests
* Don't test data results using constants
* Fix data issues
* Fixtures
* Simplify mock creation
* Docstrings
2022-10-17 20:29:10 +03:00
Franck Nijhof
326a1b21ca
Add message service to LaMetric ( #80448 )
2022-10-17 16:14:20 +02:00
Jose Ramirez
f730f96024
Convert darksky unittest tests to pytest ( #79868 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-17 16:09:37 +02:00
epenet
a26b3e7a34
Refactor access to ConfigStore ( #80467 )
...
* Refactore access to ConfigStore
* Make tests async
* Reset config during test
2022-10-17 13:59:04 +02:00
Florent Thoumie
abec592a24
Update to iaqualink 0.5.0 ( #80304 )
...
* Update to iaqualink 0.5.0.
* Boolean conditional style fix
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix black formatting
* Update iaqualink tests after update to 0.5.x
* Remove debug print statements
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-17 10:14:29 +02:00
TheJulianJES
b4a203c3c7
Add friendly name to ZHA identify button ( #80446 )
2022-10-16 19:57:24 -04:00