Commit graph

58197 commits

Author SHA1 Message Date
uvjustin
8e117ee499
Pass frag_duration as integer ()
fixes undefined
2023-01-22 17:28:17 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint () 2023-01-22 17:26:24 +01:00
mkmer
a0810053f1
Bump AIOSomecomfort to 0.0.3 ()
fixes undefined
2023-01-22 17:25:27 +01:00
Michael
504a3d3028
Bump py-synologydsm-api to 2.0.2 () 2023-01-22 17:24:31 +01:00
Duco Sebel
bcec69fec1
Upgrade python-homewizard-energy to 1.7.0 () 2023-01-22 17:11:27 +01:00
epenet
e1fc494b54
Add missing ratio test cases in unit conversion ()
* Add missing ratio test cases in unit conversion

* Improve ratio test to check inverse
2023-01-22 16:39:45 +01:00
G Johansson
b9a7b908f3
Bump pytrafikverket to 0.2.3 ()
pytrafikverket 0.2.3

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2023-01-22 13:02:49 +02:00
J. Nick Koston
5ff0479c16
Split history websocket API into its own file () 2023-01-21 18:45:00 -10:00
J. Nick Koston
4c84824ac8
Increase default recorder commit interval to 5 seconds () 2023-01-21 18:09:00 -10:00
Tom Harris
8cf6ebd363
Allow changing the Insteon USB device ()
* Reconfig PLM device

* Test config change
2023-01-21 23:04:25 -05:00
J. Nick Koston
c842666bea
Avoid creating logbook stream task if unsubscribed while waiting for executor () 2023-01-21 17:20:33 -10:00
J. Nick Koston
8227c84e05
Add support for streaming (push) history ()
* Add support for streaming (push) history

Currently we poll for history data, like logbook we can stream
this data to avoid database overhead

* Update homeassistant/components/history/__init__.py

* merge filter

* expose new api

* expose new api

* expose new api

* expose new api

* coverage

* tests

* fixes

* tweak

* tweak

* tweak

* DRY

* leaky

* test for specific entities

* test for specific entities

* test for specific entities

* test for specific entities

* test for specific entities

* cover

* cover

* more cover

* tweak

* make sure it works before history starts

* fix test

* cover

* tweak

* make sure we unsub on overflow

* Update homeassistant/components/history/__init__.py

* Update homeassistant/components/history/__init__.py

* fix race in test

* fix db executor access

* relo above task creation
2023-01-21 22:03:41 -05:00
Shay Levy
0657c99efd
Revert "Add SSHd and GH CLI to devcontainer to support gh net" ()
Revert "Add SSHd and GH CLI to devcontainer to support `gh net` ()"

This reverts commit 15db63bb3b.
2023-01-21 21:18:22 -05:00
GitHub Action
771e07c68b [ci skip] Translation update 2023-01-22 00:25:52 +00:00
Shay Levy
d5797d9f7d
Cleanup Shelly imports ()
* Cleanup Shelly imports

* Cleanup tests
2023-01-22 01:26:54 +02:00
Guido Schmitz
164fad112c
React on IP changes in devolo Home Network () 2023-01-21 12:22:13 -10:00
J. Nick Koston
aac89a3493
Bump recommended esphome version for bluetooth proxies to 2022.12.4 ()
This will fix an MTU issue reported with airthings and
other devices.

needs https://github.com/esphome/esphome/pull/4323
2023-01-22 00:05:06 +02:00
Joakim Plate
53b931e21a
Don't interpret negative verbosity as debug ()
* Don't interpret negative verbosity as debug

CI run with -qq which is a negative verbosity

* Make sure all caplog tests get debug level

* Update tests/conftest.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-01-22 00:03:57 +02:00
J. Nick Koston
ca4d7634a8
Switch an asyncio.wait_for in the template helper to async_timeout ()
Switch an asyncio.wait_for in the template helper to async_timeout

Eliminates the extra task when calling async_render_will_timeout
2023-01-22 00:02:03 +02:00
J. Nick Koston
2dca826fa9
Bump flux_led to 0.28.35 ()
changelog: https://github.com/Danielhiversen/flux_led/compare/0.28.34...0.28.35
2023-01-22 00:01:08 +02:00
J. Nick Koston
a49461a040
Restore flume scan interval to match app ()
To stay under the API limit the device connection is now
only checked hourly and notifications are only checked every
5 minutes

fixes 
2023-01-22 00:00:12 +02:00
J. Nick Koston
a62b8a4f5b
Add zeroconf discovery to Synology DSM () 2023-01-21 11:12:18 -10:00
Christopher Bailey
772a432c4d
Fix edge cases for adding/enabling sensors for UniFi Protect ()
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-01-21 09:38:59 -10:00
mkmer
5306883288
Fix Honeywell unavailable state on connection lost ()
* Fix for Issue 62957

* Cleanup exception test

* rework connection error retry logic

* Refactor HoneywellData class

* move _atr_available to correct location

* await create_task
2023-01-21 20:28:05 +01:00
mkmer
402be4ebde
Fix preset modes in Honeywell ()
* Fix for issue 

* in instead of =

* Address None for entity maps

* Rework retry logic

* Committed to the wrong branch....
This reverts commit 40e19407a3 (Rework retry logic, 2023-01-21).

* Remove none, change log wording
2023-01-21 20:21:03 +01:00
Luke
f608e150fd
Fix incorrect mock in whirlpool ()
* Added async according to error logs

* changed Asyncmock to magicmock get_aircon_mock

* changed attr_callback to MagicMock for sensor_mock
2023-01-21 20:18:43 +01:00
epenet
91c502ae55
Bump bcrypt to 4.0.1 () 2023-01-21 11:16:28 -05:00
epenet
e8d19e7c62
Ensure all unit converters are tested ()
* Ensure all unit converters are tested

* Adjust

* Simplify

* Simplify

* docstring
2023-01-21 13:11:13 +01:00
Michael Hansen
255611238b
Conversation config ()
* Restore conversation config

* Fall back to en for en_US, etc.

* Simplify config passing around

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-01-20 21:39:49 -05:00
GitHub Action
e1483ff746 [ci skip] Translation update 2023-01-21 00:24:12 +00:00
Erik Montnemery
1e2f00e186
Improve device automation validation () 2023-01-21 00:44:17 +01:00
shbatm
0c8b6c13fc
Bump PyISY to 3.1.9 for performance improvements () 2023-01-20 13:09:00 -10:00
Daniel Hjelseth Høyer
50800d2590
Update pyTibber to 0.26.11 () 2023-01-21 00:01:17 +01:00
Nathan Spencer
be5fe29dc9
Correct pet_weight sensor state class in litterrobot () 2023-01-21 00:00:05 +01:00
Maciej Bieniek
58bfeb3110
Fix state_class for Accuweather precipitation sensor () 2023-01-20 23:36:25 +01:00
Jan Bouwhuis
80929c5f8c
Update stale docstring on demo lock platform ()
Update stale docstring
2023-01-20 23:01:32 +01:00
starkillerOG
7e51aeb916
Reolink add binary sensors ()
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-20 22:27:59 +01:00
mkmer
7f4a727e10
Address Honeywell late review () 2023-01-20 20:30:48 +01:00
Shay Levy
df77646c8a
Fix Shelly sleeping Gen2 - do not refresh from zeroconf discovery () 2023-01-20 21:27:31 +02:00
Franck Nijhof
914704e459
Remove deprecated Uptime YAML configuration () 2023-01-20 18:50:32 +02:00
Franck Nijhof
7e8c081065
Refactor HomeWizard switch platform to use entity descriptions () 2023-01-20 08:49:04 -05:00
Franck Nijhof
a9728bd3a5
Update python-homewizard-energy to 1.6.1 ()
* Update python-homewizard-energy to 1.6.1

* Adjust tests
2023-01-20 08:48:48 -05:00
Franck Nijhof
c14aa7bee4
Automatically set up HomeWizard during onboarding ()
* Automatically set up HomeWizard during onboarding

* Add disabled API during onboarding test

* Mark onboarding complete half way in the test
2023-01-20 08:48:36 -05:00
Franck Nijhof
db6cacafcb
Add battery device class to Glances battery sensor () 2023-01-20 08:47:38 -05:00
Erik Montnemery
ae39b95bb1
Rename otbr integration ()
Rename otbr integration
2023-01-20 08:32:41 -05:00
Erik Montnemery
d94f007dbf
Import recorder locally in test fixtures () 2023-01-20 14:22:48 +01:00
Franck Nijhof
24fdd588fd
Code styling tweaks to the tests - Part 1 () 2023-01-20 13:52:46 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control () 2023-01-20 13:47:55 +01:00
fwestenberg
29b2b6727e
Add Stookwijzer ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-20 13:42:47 +01:00
Duco Sebel
658db7ff05
Add sensors for smart and gas meter identifiers (serial numbers) in HomeWizard () 2023-01-20 13:42:01 +01:00