G Johansson
02389960ce
Refactor Command line sensor to inherit TemplateSensor ( #81222 )
...
* Refactor sensor
* Remove not needed
* block until done
* reset test
* test sensor
* Add time
2023-03-13 17:23:25 +01:00
Nick Borgers
a7396af4bb
Bump pybravia to 0.3.2 ( #89635 )
2023-03-13 16:06:29 +01:00
Erik Montnemery
8a0522ca2a
Include extended address in thread discovery data ( #89640 )
2023-03-13 15:59:22 +01:00
Erik Montnemery
0f2abe7f25
Bump python-otbr-api to 1.0.9 ( #89637 )
2023-03-13 15:52:36 +01:00
Joakim Sørensen
11e21378b1
Add sensors for supervisor host ( #89461 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-13 15:39:49 +01:00
tomrennen
15506da332
Improved "ON" state check for `Use room sensor for cooling` ( #89634 )
2023-03-13 15:15:13 +01:00
Thijs Walcarius
cdfb43d403
Address late review comments for frontier_silicon config flow ( #89507 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: wlcrs <wlcrs@users.noreply.github.com>
2023-03-13 15:06:45 +01:00
Klaas Schoute
3aeda1792a
Bump easyEnergy to v0.2.1 ( #89630 )
2023-03-13 15:00:50 +01:00
anotherthomas
179cc4d7f7
Improve warnings in mqtt light messages ( #89552 )
...
* improved warnings in mqtt light messages.
* fixed tests.
2023-03-13 14:46:16 +01:00
Erik Montnemery
3637d787cf
Fix `intellifire` name property ( #89632 )
...
Fix intellifire name property
2023-03-13 14:01:28 +01:00
Penny Wood
429e52cf3d
Improve typing in climate.py ( #89577 )
2023-03-13 12:40:09 +01:00
starkillerOG
431a8d0047
Add support for dual lens cameras in Reolink ( #89554 )
2023-03-13 12:16:52 +01:00
Arjan
40ed3be4a8
Fix gtfs with 2023.3 (sqlachemy update) ( #89175 )
2023-03-13 11:57:49 +01:00
starkillerOG
6e10cd81dd
Use repair issue when port enable fails in Reolink ( #89591 )
...
* Reolink use repair issue for disabled ports
* fix styling
* Add port repair issue tests
* Update homeassistant/components/reolink/strings.json
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-13 11:43:41 +01:00
Jan Rieger
78e8de9bd7
Add ESERA 1-Wire virtual integration ( #89487 )
2023-03-13 11:33:35 +01:00
cnico
e73e88b922
Bump flipr-api to 1.5.0 ( #89598 )
...
flipr api 1.5.0 to use the new cloud api
2023-03-13 11:16:45 +01:00
David Poll
7284af6a3e
Add an in-memory-preloading loader for Jinja imports ( #88850 )
...
* Adds a loader to enable jinja imports.
* Switch to in-memory
* Move loading custom_jinja off of the event loop
* Raise TemplateNotFound if template doesn't exist
* Fix docstring
* Adds a service to reload custom jinja
* Remove IO from test setup
* Improve coverage and small refactor
* Incorporate feedback and use .jinja extension
* Check the loaded sources in test.
* Incorporate PR feedback.
* Update homeassistant/helpers/template.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-13 11:00:05 +01:00
G Johansson
5c4f93fa36
Refactor Command line cover to inherit TemplateEntity ( #81214 )
...
* Refactor cover
* Remove not needed
2023-03-13 10:57:30 +01:00
G Johansson
5c42261210
Refactor Command line binary sensor to inherit TemplateEntity ( #81212 )
...
* Refactor binary sensor
* Align
2023-03-13 10:56:18 +01:00
Erik Montnemery
fd5c56fc7d
Rename modules named repairs.py which are not repairs platforms ( #89618 )
2023-03-13 09:44:20 +01:00
J. Nick Koston
d1ee303e85
Drop duplicated indices from recorder database schema ( #89613 )
...
Drop duplicated indices from schema
https://docs.percona.com/percona-toolkit/pt-duplicate-key-checker.html
```
% pt-duplicate-key-checker --databases fresh
ALTER TABLE `fresh`.`events` DROP INDEX `ix_events_event_type_id`;
ALTER TABLE `fresh`.`states` DROP INDEX `ix_states_metadata_id`;
ALTER TABLE `fresh`.`statistics` DROP INDEX `ix_statistics_metadata_id`;
ALTER TABLE `fresh`.`statistics_short_term` DROP INDEX `ix_statistics_short_term_metadata_id`;
```
2023-03-13 09:24:57 +01:00
dougiteixeira
470b0b5471
Adjust Tuya entity naming ( #89616 )
...
Fix entity name
2023-03-13 09:23:04 +01:00
Eugenio Panadero
1fb11aec26
Bump aiopvpc to 4.1.0 ( #89593 )
2023-03-13 09:07:10 +01:00
Stephan Uhle
c45fb85f17
Bump pysml to 0.0.9 ( #89603 )
2023-03-13 08:25:59 +01:00
Stephan Uhle
17c0e18776
Code quality update for EDL21 ( #89561 )
...
Enhance code quality.
2023-03-13 08:04:24 +01:00
J. Nick Koston
e34853a82a
Switch underlying history stats calculation to use seconds ( #77857 )
...
* Switch history stats to report in seconds
Because hours were previously used, the data would always be off because
of the loss of resolution when the time being tracked was in a window
of more than 12s
* Apply suggestions from code review
* Update homeassistant/components/history_stats/sensor.py
* tweak
2023-03-12 23:05:48 -04:00
Barry Loong
877efc993b
Add support for window device class to google assistant ( #89564 )
2023-03-12 22:45:25 -04:00
J. Nick Koston
b9ac6b4a7c
Improve reliability of context id migration ( #89609 )
...
* Split context id migration into states and events tasks
Since events can finish much earlier than states we
would keep looking at the table because states as not
done. Make them seperate tasks
* add retry dec
* fix migration happening twice
* another case
2023-03-12 21:41:48 -04:00
J. Nick Koston
85ca94e9d4
Mark database sessions that do not write data as read_only ( #89600 )
...
* Mark sessions that do not write data as read_only
* Mark sessions that do not write data as read_only
2023-03-12 21:33:28 -04:00
J. Nick Koston
977a07de13
Generate large history responses in the executor ( #89606 )
2023-03-12 21:32:26 -04:00
MarkGodwin
41b4c5532d
Add Update entities to TP-Link Omada integration ( #89562 )
...
* Bump tplink-omada
* Add omada firmware updates
* Excluded from code coverage
* Fixed entity name
2023-03-12 21:26:34 -04:00
J. Nick Koston
459ea048ba
Fix old indices never being removed with PostgreSQL ( #89599 )
2023-03-12 14:07:05 -10:00
J. Nick Koston
e809b636e6
Bump rflink to 0.0.65 for python 3.11 ( #89601 )
2023-03-12 12:44:47 -10:00
J. Nick Koston
c41f91be89
Deduplicate entity_id in the states table ( #89557 )
2023-03-12 10:01:58 -10:00
Jan Stienstra
8d88b02c2e
Recode Home Assistant instance name to ascii for Jellyfin ( #87368 )
...
Recode instance name to ascii
2023-03-12 13:31:10 -05:00
Marc Mueller
b4b7605b82
Improve screenlogic generic typing ( #89587 )
2023-03-12 06:38:26 -10:00
G Johansson
e932139721
Strict typing threshold ( #82786 )
2023-03-12 17:10:00 +01:00
Erik Montnemery
cf7e500a8e
Support translating entity names ( #88242 )
2023-03-12 15:55:04 +01:00
J. Nick Koston
edb06c58fa
Add some more typing to screenlogic ( #88522 )
2023-03-11 23:04:19 -05:00
J. Nick Koston
84327f203c
Fix flux_led set time to not happen during DST switch ( #89559 )
...
* Fix flux_led set time test
If this test was run at the wrong time of the day
it would not have been long enough for the set time
to fire since it only happens at 2:40:30 in the morning
local time
* Revert "Fix flux_led set time test"
This reverts commit 3241912eff
.
* Change time set to not be during DST switch
2023-03-11 21:52:17 -05:00
J. Nick Koston
50c31a5355
Move legacy database queries and models to prepare for schema v38 ( #89532 )
2023-03-11 11:26:30 -10:00
J. Nick Koston
16b420d660
Fix get_significant_states_with_session query looking at legacy columns ( #89558 )
2023-03-11 10:37:00 -10:00
J. Nick Koston
8bd43760b6
Deduplicate event_types in the events table ( #89465 )
...
* Deduplicate event_types in the events table
* Deduplicate event_types in the events table
* more fixes
* adjust
* adjust
* fix product
* fix tests
* adjust
* migrate
* migrate
* migrate
* more test fixes
* more test fixes
* fix
* migration test
* adjust
* speed up
* fix index
* fix more tests
* handle db failure
* preload
* tweak
* adjust
* fix stale docs strings, remove dead code
* refactor
* fix slow tests
* coverage
* self join to resolve query performance
* fix typo
* no need for quiet
* no need to drop index already dropped
* remove index that will never be used
* drop index sooner as we no longer use it
* Revert "remove index that will never be used"
This reverts commit 461aad2c52
.
* typo
2023-03-11 14:54:55 -05:00
Kevin Worrel
56454c8580
Reconnect on any ScreenLogic exception ( #89269 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-11 09:27:33 -10:00
Robert Svensson
8564768d9e
UniFi library controls add/update signalling ( #89525 )
...
* Library controls add/update signalling
* Remove add/remove signalling
* Remove unifi_entity_base and unifi_client to make mypy pass
2023-03-11 20:14:39 +01:00
Robert Svensson
7487a004fd
Bump pydeconz to v110 ( #89527 )
...
* Bump pydeconz to v109
* Bump pydeconz to v110 for additional color modes
2023-03-11 20:13:27 +01:00
J. Nick Koston
52cea16f74
Remove unused code in RecorderRuns.entity_ids ( #89526 )
2023-03-11 12:46:12 +01:00
J. Nick Koston
01e1221443
Refactor logbook data to use a dataclass ( #89534 )
2023-03-11 12:45:27 +01:00
rappenze
fccdd7b102
Fix bug in fibaro cover ( #89502 )
2023-03-11 09:15:05 +01:00
Robert Svensson
288a4203ab
Make client tracker use common UniFi entity class ( #84942 )
...
* Make client tracker use common UniFi entity class
* Fix tests
* Fix mypy
* Remove legacy data
* Fix comment: skip else use return
* Minor change
* Remove missed stuff from previous rebase
* Import async_device_available_fn from entities.py rather than specifying it in device_tracker
* Avoid using asserts
* Keep explicit parenthesis for readability
* Allow loading entities on option changes
2023-03-11 06:23:49 +01:00
epenet
96bd714364
Add FTTH and WAN info to SFR box diagnostics ( #89492 )
...
* Add FTTH and WAN info to SFR box diagnostics
* Adjust tests
* Use snapshots
2023-03-10 10:09:04 -05:00
Vincent Knoop Pathuis
75bca76e68
Landis+Gyr move coordinator to own file ( #89433 )
...
* Move coordinator to own file and add test cases
* Apply typing improvements from review
* Remove testcase for exception during setup
* Simplify unittest for failing serial connection
* Readd checks in serial connection test after review
2023-03-10 15:57:35 +01:00
Thijs W
b8bda93d87
Add config flow to frontier_silicon ( #64365 )
...
* Add config_flow to frontier_silicon
* Add missing translation file
* Delay unique_id validation until radio_id can be determined
* Fix tests
* Improve tests
* Use FlowResultType
* Bump afsapi to 0.2.6
* Fix requirements_test_all.txt
* Stash ssdp, reauth and unignore flows for now
* Re-introduce SSDP flow
* hassfest changes
* Address review comments
* Small style update
* Fix tests
* Update integrations.json
* fix order in manifest.json
* fix black errors
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Address review comments
* fix black errors
* Use async_setup_platform instead of async_setup
* Address review comments on tests
* parameterize tests
* Remove discovery component changes from this PR
* Address review comments
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Add extra asserts to tests
* Restructure _async_step_device_config_if_needed
* Add return statement
* Update homeassistant/components/frontier_silicon/media_player.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-10 10:26:03 +01:00
Erik Montnemery
fde205c158
Add unconfigured flag to thread discovery data ( #89230 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-09 22:32:32 -05:00
J. Nick Koston
9e1ba8534a
Fix data migration never finishing when database has invalid datetimes ( #89474 )
...
* Fix data migration never finishing when database has invalid datetimes
If there were impossible datetime values in the database (likely
from a manual sqlite to MySQL conversion) the conversion would
never complete
* Update homeassistant/components/recorder/migration.py
2023-03-09 21:03:41 -05:00
TheJulianJES
d828263ee3
Add device class to ZHA Xiaomi plug "consumer connected" sensor ( #89476 )
...
Add device class to ZHA Xiaomi plug "consumer connected"
2023-03-09 20:15:22 -05:00
Jared Szechy
4591bb1823
Add Ruth and Stephen voices to AWS Polly ( #89344 )
...
Add Ruth and Stephen
2023-03-09 19:13:56 -05:00
Erik Montnemery
7ef1c289be
Fix Dormakaba dKey deadbolt binary sensor ( #89447 )
...
* Fix Dormakaba dKey deadbolt binary sensor
* Spelling
2023-03-09 13:17:29 -05:00
Kirill Kulakov
d1734bc0ab
Xiaomi Air Purifier S2 illuminance sensor support ( #89208 )
...
* Add sensor illuminance sensor support xiaomi s2 air purifier
* Add sensor illuminance sensor support xiaomi s2 air purifier
* fix sorting
2023-03-09 19:15:14 +01:00
Stephan Uhle
3796a73856
Add device info to edl21 ( #89327 )
2023-03-09 19:08:55 +01:00
Joakim Sørensen
4f29e1e180
Add stats sensors for core and supervisor ( #89455 )
...
* Add stats sensors for core and supervisor
* Update homeassistant/components/hassio/__init__.py
2023-03-09 19:06:35 +01:00
Paul Bottein
01d8eaa5b6
Update frontend to 20230309.0 ( #89446 )
2023-03-09 12:28:02 -05:00
Stefan Agner
f903c536fb
Add Hardkernel ODROID-M1 ( #89431 )
...
* Add Hardkernel ODROID-M1
Add Hardkernel ODROID-M1 machine. ODROID-M1 is a Rockchip RK3568B2 SoC
based single board computer with 4xCortex-A55, NVMe support and up to
8GB of RAM.
* Update homeassistant/components/hardkernel/hardware.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Fix tests
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-09 14:18:19 +01:00
epenet
dcff2f37f7
Add DSL prefix to SFRBox ADSL sensors ( #89276 )
2023-03-09 13:19:22 +01:00
Jeef
3545209355
Add vermont_castings virtual integration for Intellifire ( #89317 )
2023-03-09 13:17:50 +01:00
Jack Boswell
c6d2824afe
Disable some less commonly used starlink entities by default ( #87869 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-09 13:06:27 +01:00
J. Nick Koston
86ad8261d8
Update logbook queries for SADeprecationWarning ( #87108 )
2023-03-09 13:03:08 +01:00
avee87
c2f69dc59d
Revert Transmission entities name changes ( #89409 )
2023-03-09 13:02:12 +01:00
TheJulianJES
3989ef8863
Parse attribute reports for ZHA select entity ( #89418 )
...
* Parse attribute reports for ZHA select entity
* Add test for checking that select entity attribute reports are parsed
2023-03-09 07:01:18 -05:00
Jeef
ead3662b7a
Add quadrafire virtual integration for Intellifire ( #89316 )
2023-03-09 13:00:31 +01:00
starkillerOG
c9d5baca75
Add hostname to DHCP discovery title ( #89426 )
2023-03-09 11:12:29 +01:00
Felix Rotthowe
5828e9a8d2
Simplify LivisiEntity inheritance ( #89424 )
...
* We don't need to inherit Entity. The CoordinatorEntity already does that.
* update imports
2023-03-09 09:27:53 +01:00
Jan Bouwhuis
1a4b14c217
Fix MQTT rgb light brightness scaling ( #89264 )
...
* Normalize received RGB colors to 100% brightness
* Assert on rgb_color attribute
* Use max for RGB to get brightness
* Avoid division and add clamp
* remove clamp
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-09 08:02:59 +01:00
Joakim Sørensen
e5ce8e920d
Add paths for add-on changelog and documentation ( #89411 )
2023-03-08 20:23:33 -05:00
J. Nick Koston
170a13302c
Reduce overhead to store context ids in the database ( #88942 )
2023-03-08 14:51:45 -10:00
Marc Mueller
386533a16f
Update mypy to 1.1.1 ( #89268 )
...
* Update mypy to 1.1.1
* Update pydantic to 1.10.6
2023-03-08 22:57:54 +01:00
Matthias Alphart
bfae8992a9
Better log message for KNX expose conversion error ( #89400 )
2023-03-08 22:42:07 +01:00
Dillon Fearns
0d948a0f11
Bump roombapy to 1.6.6 ( #89366 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-08 22:39:33 +01:00
Jan Bouwhuis
366baef7f6
Allow enum as MQTT sensor device_class ( #89391 )
2023-03-08 22:35:06 +01:00
Mark Adkins
8af37f7fee
Update SharkIQ code owners ( #89388 )
2023-03-08 22:05:23 +01:00
mkmer
5c768c3f89
Bump aiosomecomfort to 0.0.14 ( #89393 )
2023-03-08 22:02:18 +01:00
Brandon Rothweiler
4f11344bc3
Bump pymazda to 0.3.8 ( #89387 )
2023-03-08 10:56:40 -10:00
Malte Franken
b07f614cf5
Add loggers to gdacs manifest file ( #89338 )
...
define loggers
2023-03-08 15:53:12 -05:00
Erik Montnemery
09915f8047
Add WS API for getting an OTBR's extended address ( #89384 )
...
* Add WS API for getting an OTBR's extended address
* Bump python-otbr-api to 1.0.8
* Really add require_admin decorator to otbr WS API
2023-03-08 15:52:53 -05:00
Robert Svensson
5a499050f2
Remove lingering timer related to camera ( #89394 )
2023-03-08 15:52:01 -05:00
Mark Adkins
84b5ea8ac0
Bump SharkIQ to 1.0.2 ( #89346 )
...
* SharkIQ Dep & Codeowner Update
* Update code owners
* Revert code owner changes
2023-03-08 15:31:32 -05:00
Erik Montnemery
7232a0a786
Add require_admin decorator to otbr WS API ( #89385 )
...
* Add require_admin decorator to otbr WS API
* Add require_admin decorator to forgotten otbr WS API
2023-03-08 19:21:04 +01:00
parliament119
7d97653895
Bump pyfritzhome to 0.6.8 and add support for Non-Color-Bulbs ( #89141 )
2023-03-08 18:24:37 +01:00
Vincent Knoop Pathuis
b0013247ff
Move Landis+Gyr sensor descriptions to sensor platform ( #89382 )
...
Move HEAT_METER_SENSOR_TYPES to sensor platform
2023-03-08 16:56:04 +01:00
Marc Mueller
bfb89fd8f2
Update pylint to 2.17.0 ( #89377 )
...
* Update pylint to 2.17.0
* Remove unused pylint disable comments
2023-03-08 10:54:19 -05:00
J. Nick Koston
614a1b03c1
Use an event filter for event triggers ( #89339 )
...
We avoid the overhead of call_soon and event loop
scheduling if the event does not match the schema
2023-03-08 10:23:13 -05:00
Florent Thoumie
2ec78ae70e
Recreate iaqualink httpx client upon service exception ( #89341 )
2023-03-08 15:37:24 +01:00
J. Nick Koston
5374c70c97
Fix bluetooth history and device expire running in the executor ( #89342 )
2023-03-08 15:27:34 +01:00
epenet
2626dd2c83
Fix invalid state class in litterrobot ( #89380 )
2023-03-08 15:24:19 +01:00
Franck Nijhof
feb3f543be
Improve Supervisor API handling ( #89379 )
2023-03-08 15:21:11 +01:00
starkillerOG
9381865f1c
Fix setting Reolink focus ( #89374 )
...
fix setting focus
2023-03-08 12:25:51 +01:00
Renat Sibgatulin
452e1d341d
Remove invalid device class in air-Q integration ( #89329 )
...
Remove device_class from sensors using inconsistent units
2023-03-08 10:00:40 +01:00
Marc Mueller
58280dc2ec
Improve gios generic typing ( #89321 )
2023-03-08 08:39:15 +01:00
Nathan Spencer
ff83b8adb8
Bump pybalboa to 1.0.1 ( #89310 )
2023-03-08 08:26:34 +01:00
J. Nick Koston
3e5e937541
Use a filter for the PersonStorageCollection EVENT_ENTITY_REGISTRY_UPDATED listener ( #89335 )
...
Avoids creating a task unless a device_tracker is removed
2023-03-07 21:07:24 -05:00
Tom Harris
008a30618c
Fix Insteon open issues with adding devices by address and missing events ( #89305 )
...
* Add missing events
* Bump dependancies
* Update for code review
2023-03-07 21:06:29 -05:00
puddly
fa128fbcec
Clean ZHA radio path with trailing whitespace ( #89299 )
...
* Clean config flow entries with trailing whitespace
* Rewrite the config entry at runtime, without upgrading
* Skip intermediate `data = config_entry.data` variable
* Perform a deepcopy to ensure the config entry will actually be updated
2023-03-07 20:24:08 -05:00
J. Nick Koston
bde40cde48
Fix thread diagnostics loading blocking the event loop ( #89307 )
...
* Fix thread diagnostics loading blocking the event loop
* patch target
2023-03-07 20:21:26 -05:00
epenet
f9a59c0839
Ignore DSL entities if SFR box is not adsl ( #89291 )
2023-03-07 19:04:50 +01:00
Erik Montnemery
058bb4c3e6
Drop deepcopy of Alexa config ( #89284 )
2023-03-07 16:16:46 +01:00
Erik Montnemery
f5a3c4f7f5
Drop deepcopy of intent_script config ( #89285 )
2023-03-07 16:16:24 +01:00
Erik Montnemery
f48b535d9d
Drop deepcopy of manual alarm control panel config ( #89286 )
2023-03-07 16:15:48 +01:00
Erik Montnemery
3f061e9101
Drop deepcopy of manual mqtt alarm control panel config ( #89287 )
2023-03-07 16:15:26 +01:00
epenet
ff2a88b426
Bump ruff to 0.0.254 ( #89273 )
2023-03-07 13:25:31 +01:00
Franck Nijhof
8c282e2b0d
Remove deprecated DSMR Reader YAML configuration ( #89239 )
2023-03-07 13:24:41 +01:00
Aidan Timson
85bcf11aeb
Update systembridgeconnector to 3.4.8 ( #79732 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-07 10:22:31 +01:00
Doney den Ouden
755c44d152
Add HomeKit Door accessory type ( #80741 )
...
Co-authored-by: Jason Redd <jredd46@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-06 18:07:43 -10:00
J. Nick Koston
3c70dd9b42
Make sql subqueries threadsafe ( #89254 )
...
* Make sql subqueries threadsafe
fixes #89224
* fix join outside of lambda
* move statement generation into a seperate function to make it easier to test
* add cache key tests
* no need to mock hass
2023-03-06 20:44:11 -05:00
J. Nick Koston
9672b5f02c
Bump sqlalchemy to 2.0.5post1 ( #89253 )
...
changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.5
mostly bugfixes for 2.x regressions
2023-03-06 20:20:37 -05:00
J. Nick Koston
ee89922c1b
Add support for bluetooth pairing in esphome ( #88603 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-06 14:24:35 -10:00
J. Nick Koston
5ccaa549d1
Bump aioesphomeapi to 13.5.0 ( #89262 )
2023-03-06 14:04:10 -10:00
luar123
7972dbf9fb
Bump python-snapcast to 2.3.2 ( #89259 )
2023-03-06 22:48:40 +01:00
Marc Mueller
84034959ba
Improve reolink generic typing ( #88786 )
...
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2023-03-06 21:54:34 +01:00
J. Nick Koston
83fa4c6c60
Bump aioesphomeapi to 13.4.2 ( #89210 )
2023-03-06 18:49:54 +01:00
Maciej Bieniek
1538f639ae
Bump `gios` library to version 3.1.0 ( #89044 )
2023-03-06 18:12:19 +01:00
starkillerOG
f9be796ca3
Reolink extend DHCP discovery ( #89238 )
2023-03-06 17:23:24 +01:00
epenet
91e389c58d
Bump ruff to 0.0.253 ( #89211 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-06 16:16:31 +01:00
starkillerOG
e8bdaaacd9
Add comment about Reolink Floodlight turn on brightness ( #89234 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-06 16:08:53 +01:00
Robert Svensson
9ff45ca013
Allow loading UniFi entities on config options change ( #88762 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-06 16:08:14 +01:00
epenet
ee6f969c2a
Add type hints to ps4 media player ( #89236 )
2023-03-06 15:56:34 +01:00
Jan Bouwhuis
5ee383456f
Catch exceptions and add logging when writing states on MQTT entities ( #89091 )
...
* Catch exceptions when writing states
* Do not use wrapper for logging and adjust tests
* Catch logging directly on async_write_ha_state()
* Update homeassistant/components/mqtt/models.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix test
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-06 15:34:47 +01:00
Marc Mueller
0c042e8f72
Fix conditional check ( #89231 )
2023-03-06 14:04:36 +01:00
starkillerOG
76cc4c9c08
Add Reolink light platform ( #88619 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-06 12:48:36 +01:00
Bram Kragten
0ce9c6293a
Update frontend to 20230306.0 ( #89227 )
2023-03-06 12:47:01 +01:00
starkillerOG
b2166c3117
Reolink add new number entities ( #87932 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-06 12:42:34 +01:00
Raman Gupta
b572ecc62d
Update zwave_js README with contributor instructions ( #89158 )
2023-03-06 12:06:53 +01:00
Fabian Pfütsch
ea4d2bd1e8
Sync tado zones after updating climate preset ( #79715 )
2023-03-06 10:40:34 +01:00
Erik Montnemery
ab1df8065c
Refresh homeassistant_alerts when components are loaded ( #76049 )
2023-03-06 10:26:37 +01:00
Franck Nijhof
c7b30b61de
Revert "Add device info to edl21" ( #89217 )
2023-03-06 08:51:33 +01:00
Stephan Uhle
fc673139cd
Add device info to edl21 ( #89070 )
...
* Added device info for edl21.
* Apply suggestions from code review
2023-03-06 08:29:41 +01:00
MarkGodwin
876776e291
Fix host IP and scheme entry issues in TP-Link Omada ( #89130 )
...
Fixing host IP and scheme entry issues
2023-03-05 23:47:45 -05:00
ztamas83
811e286f0f
Test coverage for Tibber config flow ( #89088 )
...
* Test coverage for Tibber config flow
* Fix isort and ruff errors
2023-03-05 20:38:47 -05:00
Franck Nijhof
74566258ba
Update watchdog to 2.3.1 ( #89190 )
2023-03-05 19:47:31 -05:00
Franck Nijhof
570db2a0af
Update sentry-sdk to 1.16.0 ( #89193 )
2023-03-05 19:47:19 -05:00
starkillerOG
b14c5046e2
Reolink add select platform ( #87946 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-05 23:43:58 +01:00
Ernst Klamer
497e3cf744
Bump bthome to 2.8.0 ( #89192 )
2023-03-05 23:35:48 +01:00
Franck Nijhof
d9fc932253
Fix Tuya Python 3.11 compatibility issue ( #89189 )
2023-03-05 22:19:40 +01:00
Tucker Kern
37ec442ffb
Use title case for Transmission status sensor ( #88578
...
* Use title case for Transmission status sensor
* Use localizations for transmission status sensor
* Assign device class and options as requested by review.
* Don't use title case for entity names
2023-03-05 22:12:30 +01:00
starkillerOG
c792631f15
Add Reolink siren platform ( #88217 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-05 21:21:22 +01:00
starkillerOG
b2c9208dd0
Reolink add switch platform ( #87943 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-05 21:00:51 +01:00
Khole
da100040a5
Hive add ability to delete device ( #80838 )
2023-03-05 20:43:33 +01:00
G Johansson
f4cda2dfda
Add device_class and state_class to sql ( #85418 )
2023-03-05 20:30:42 +01:00
Franck Nijhof
84402a9ae0
Remove deprecated Season YAML configuration ( #89166 )
...
* Remove deprecated Season YAML configuration
* Restore old title defaults
2023-03-05 17:07:32 +01:00
Jan Bouwhuis
a9becd8e0e
Raise ValueError on date parsing of MQTT sensor with invalid date format ( #89036 )
...
* Suppress ValueError on date parsing of MQTT sensor
* Simplify, but not update state on invalid payload
* Still raise an an invalid date
* Make datetime state unknown on invalid format
* remove unrelated added new line
2023-03-05 17:06:48 +01:00
Franck Nijhof
2fc2c2efbe
Remove deprecated Moon YAML configuration ( #89161 )
...
* Remove deprecated Moon YAML configuration
* Restore old title defaults
2023-03-05 17:05:32 +01:00
Greg Dowling
7b54061ab7
Add repeat to roon media player ( #88851 )
2023-03-05 15:43:52 +01:00
Chris Talkington
2e1f6cad96
Detect newly connected clients in jellyfin ( #89168 )
2023-03-05 15:00:16 +01:00
Ben Morton
680f3c27a5
Add support for Spotify podcasts ( #87671 )
2023-03-05 14:02:38 +01:00
Andrew Westrope
cc6721c06b
Check type key of zone exists in geniushub ( #86798 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-05 13:51:02 +01:00
Geoff
b51dadbfe6
Update link to opencv in image_process log message ( #89008 )
2023-03-05 13:49:51 +01:00
Felix Rotthowe
189c612100
Add support for Livisi PSSO, ISS and ISS2 switch devices ( #89140 )
2023-03-05 13:36:56 +01:00
Carlos Cristobal
3614114a8f
Revert "Replace Fitbit weight SensorStateClass measurement with total" ( #89126 )
2023-03-05 13:36:25 +01:00
Greg Dowling
08b3945d9b
Bump pyroon to 0.1.4 ( #89124 )
2023-03-05 13:35:32 +01:00
starkillerOG
3f7a58786f
Bump reolink-aio to 0.5.3 ( #89145 )
2023-03-05 13:34:07 +01:00
starkillerOG
39db0ef173
Add Reolink button platform ( #88687 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-05 13:01:10 +01:00
Mick Vleeshouwer
85618fd3cd
Bump overkiz dependency to 1.7.7 ( #89163 )
2023-03-05 12:54:39 +01:00
gjong
afd37c8a0a
Bump youless api version to v1.0.1 ( #89117 )
2023-03-05 12:49:02 +01:00
J. Nick Koston
11681f3f31
Pass a helpful name when creating common asyncio tasks in core ( #89171 )
2023-03-05 12:46:02 +01:00
J. Nick Koston
927b43626c
Bump aiodiscover to 1.4.14 ( #89174 )
2023-03-05 12:44:45 +01:00
Maciej Bieniek
6dc99d2ad8
Bump `brother` and `pysnmplib` backend libraries ( #89100 )
...
* Bump brother and pysnmplib
* Fix tests
2023-03-05 12:40:12 +01:00
Raman Gupta
62b0603b76
Bump pyvizio to 0.1.60 ( #89160 )
2023-03-05 01:03:36 -05:00
Franck Nijhof
bfadc8453d
Clean up import/migration repair in LaMetric ( #89153 )
2023-03-05 02:41:31 +01:00
Garrett
34f8e94ca9
Bump subarulink to 0.7.5 ( #89162 )
2023-03-04 22:26:16 +01:00
rappenze
2e5801cb6d
Bump pyfibaro version to 0.6.9 ( #89120 )
2023-03-04 12:05:41 +01:00
Bob van de Vijver
b27b094e27
Add day to event end to correct TwenteMilieu event timespan ( #89028 )
...
[TwenteMilieu] Add day to event end to correct event timespan
Co-authored-by: Allen Porter <allen@thebends.org>
2023-03-03 20:06:28 -08:00
J. Nick Koston
1bd9767d8c
Handle InnoDB deadlocks during migration ( #89073 )
...
* Handle slow InnoDB rollback when encountering duplicates during migration
fixes #89069
* adjust
* fix mock
* tests
* return on success
2023-03-03 22:00:13 -05:00
Charles Garwood
1d9e8c873f
Revert Intellifire breaking change from #88666 ( #89110 )
2023-03-03 17:16:12 +01:00
Felix Rotthowe
3a34f818e8
Refactor Livisi Switch and Climate to inherit from a common base class ( #89085 )
...
* Refactor Livisi entities to inherit from a common base class
* Add livisi_entity to .coveragerc
* Device location can be None
* Add use_room_as_device_name argument to constructor of LivisiEntity
When initializing, set entity name attribute only if device name differs (i.e. use_room_as_device_name=True).
* re-add comment for special handling of climate device names
* Add explicit type to constructur argument
* Make use_room_as_device_name a keyword only arg
* rename livisi_entity.py to entity.py
* change livisi_entity.py to entity.py in coveragerc
* Code quality improvements as suggested in PR
* sort .coveragerc
* fix isort issue
* fix all isort issues
2023-03-03 15:23:38 +01:00
Jeef
415190683f
Updating Intellifire Naming scheme ( #88666 )
2023-03-03 09:04:27 -05:00
Stephan Uhle
9736fe1f99
Add missing Edl21 sensor 1-0:0.0.0*255 ( #87389 )
...
* Added missing sensor.
* OwnerShip entity is disabled by default.
2023-03-03 13:44:57 +01:00
epenet
9e6f869438
Set Protocol inheritance on EnergyPlatform ( #89079 )
2023-03-03 11:57:41 +01:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 ( #89077 )
2023-03-03 11:26:13 +01:00
Thibaut
a5cf8210ae
Move Cycle command from cover to button ( #89043 )
...
Declare Cycle command as a button
2023-03-03 08:38:07 +01:00
Emory Penney
1cb1dfa456
Add Obihai reboot button ( #88849 )
...
* Obihai: Add reboot service
* Switch to button
* Remove button.py from coverage
* Update homeassistant/components/obihai/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/obihai/button.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/obihai/button.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* PR Feedback
* Cleanup some typehints
* As a class attr
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-03 07:31:56 +01:00
Raman Gupta
a689ce7283
Remove unused constant ( #89071 )
2023-03-02 23:21:40 -05:00
J. Nick Koston
48b93e03ee
Cache transient templates compiles provided via api ( #89065 )
...
* Cache transient templates compiles provided via api
partially fixes #89047 (there is more going on here)
* add a bit more coverage just to be sure
* switch method
* Revert "switch method"
This reverts commit 0e9e1c8cbe
.
* tweak
* hold hass
* empty for github flakey
2023-03-02 21:31:12 -05:00
Guy Martin
7365522d1f
Add matching on quirk_classes to zha ( #87653 )
...
* Add matching on quirk_classes.
* Add and fix tests for matching on quirk_classes.
* Black fix.
* Add a unit test to validate quirk classes.
2023-03-02 19:43:11 -05:00
Jan Bouwhuis
8968ed1c47
Fix check on non numeric custom sensor device classes ( #89052 )
...
* Custom device classes are not numeric
* Update homeassistant/components/sensor/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Add test
* Update homeassistant/components/sensor/__init__.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-02 14:20:26 -05:00
epenet
eebcf70b41
Re-enable Ruff D411 ( #89035 )
2023-03-02 13:01:05 -05:00
Matthias Alphart
e849878a48
Fix KNX Keyfile upload ( #89029 )
...
* Fix KNX Keyfile upload
* use shutil.move instead
2023-03-02 10:13:02 -05:00
Toni Juvani
f69aa7ad9d
Update pyTibber to 0.27.0 ( #86940 )
...
* Update pyTibber to 0.27.0
* Handle new exceptions
2023-03-02 10:11:34 -05:00
Paul Bottein
fd4d79d24c
Update frontend to 20230302.0 ( #89042 )
2023-03-02 10:10:26 -05:00
Xavier Decuyper
1efc33d4c6
Nuki: show actual device model in device registry ( #89017 )
...
* Bump pynuki to 1.6.1 (adds friendly device model names)
* Nuki: use friendly model name for device registry
* Update global dependencies
2023-03-02 13:40:22 +01:00
Brett Adams
e5fc2d3f78
Add Turn On and Turn Off for Advantage Air climate platform ( #88684 )
...
* Added Climate On and Climate Off
* Add Tests
* Fix off and on in zone
* Add test assertions for zone HVAC mode
2023-03-02 13:13:31 +01:00
Erik Montnemery
aa92d05317
Bump py-dormakaba-dkey to 1.0.4 ( #88992 )
2023-03-01 21:07:12 -05:00
Stephan Uhle
adb0455bd2
Add config flow to EDL21 ( #87655 )
...
* Added config_flow for edl21.
* Added already_configured check.
* Added config_flow test
* Added setup of the edl21 from configuration.yaml
* Ran script.gen_requirements_all
* Removed the generated translation file.
* Added a deprecation warning when importing from configuration.yaml.
* Readded the platform schema.
* Added handling of optional name for legacy configuration.
* Fixed handling of default value in legacy configuration.
* Added duplication check entries created via legacy config.
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Apply suggestions from code review
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-01 21:19:20 +01:00
Jan Bouwhuis
ae04c5d773
Clean up unused and deprecated TLS version setting on MQTT client ( #88674 )
...
* Cleanup CONF_TLS_VERSION remains
* Fix diagnostics tests
2023-03-01 18:42:34 +01:00
Bram Kragten
89c276bb6b
Update frontend to 20230301.0 ( #88975 )
2023-03-01 11:12:37 -05:00
Stefan Agner
b607a09e4b
Add Home Assistant with space as brand ( #88976 )
2023-03-01 17:10:19 +01:00
Erik Montnemery
12933353b2
Drop codeowner from threshold integration ( #88973 )
2023-03-01 16:46:19 +01:00
Emory Penney
137d2f0d73
Obihai config flow fixes ( #88853 )
...
* Commit split issue
* Clearer name
* Add yaml_failure test case
* Not sure why this is failing now
* Update homeassistant/components/obihai/strings.json
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* PR Feedback
* Update homeassistant/components/obihai/config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-01 16:33:32 +01:00
Maciej Bieniek
79bcdf43f7
Add `current` sensor for Shelly RPC devices ( #88863 )
2023-03-01 16:26:20 +01:00
mkmer
54de16875d
Bump Aiosomecomfort to 0.0.11 ( #88970 )
2023-03-01 16:19:46 +01:00
starkillerOG
eae12bd48d
Motion Blinds DHCP restrict ( #88919 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-01 16:16:04 +01:00
epenet
23cdafd12f
Use UnitOfVolumeFlowRate in huisbaasje and plugwise ( #88967 )
2023-03-01 15:26:39 +01:00