1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-01 00:44:04 +00:00
Commit Graph

15181 Commits

Author SHA1 Message Date
J. Nick Koston
1304808f89 Add additional test cover for history_stats (#71648) 2022-05-11 13:09:55 +02:00
Erik Montnemery
fb6cdb5a38 Optimistically set hs_color in template light (#71629)
* Optimistically set hs_color in template light

* Update light.py

* Update test
2022-05-11 09:57:54 +02:00
Graham Arthur Blair
945eba9aa3 Change Ring Chime play sound Buttons to a Siren (#71449) 2022-05-10 13:49:38 -07:00
Franck Nijhof
ef16e6c129 Fix Plugwise recovering from aiohttp client error (#71642) 2022-05-10 15:28:44 +02:00
J. Nick Koston
26177bd080 Convert logbook to use lambda_stmt (#71624) 2022-05-10 08:23:13 -05:00
Erik Montnemery
275a90a2e8 Check state attributes in template light tests (#71608) 2022-05-10 12:46:02 +02:00
Andre Richter
3a00c95113 Add device_info and entity_category to Vallox (#67353)
* Add device_info and entity_category to Vallox

* Fix DeviceInfo

* Address review comments 1

* vallox suggested changes

Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 17:00:31 -05:00
Paulus Schoutsen
64636a4310 Add service entity context (#71558)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-09 14:45:53 -07:00
J. Nick Koston
d8336a5216 Fix missing context_id in script logbook entries (#71602) 2022-05-09 15:22:27 -05:00
J. Nick Koston
222baa53dd Make database access in the eventloop raise an exception (#71547) 2022-05-09 15:22:08 -05:00
J. Nick Koston
2560d35f1c Always show the start and stop event in logbook (#71600) 2022-05-09 15:21:21 -05:00
Erik Montnemery
347193055e Rename logbook humanify function (#71597)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 23:10:26 +03:00
Michael
287bc5e3dc Add release url to Fritz!Tools update entity (#71606)
* add release url to update entity

* fix test
2022-05-09 23:07:47 +03:00
TheHolyRoger
0fcdca2d71 Add optional base64 decoding of mqtt camera image (#71223)
Add unittest for b64 decoding of camera, fix linting
2022-05-09 21:40:15 +02:00
J. Nick Koston
37c4318d33 Fix merge conflict with master to dev in sabnzbd (CI fix) (#71605) 2022-05-09 12:58:42 -05:00
epenet
75ce66e8bd Migrate wemo light to ColorMode (#70857) 2022-05-09 18:42:18 +02:00
Erik Montnemery
e5870c65ee Add missing cast test fixture (#71595) 2022-05-09 18:41:25 +02:00
Álvaro Fernández Rojas
88c2c5c36c Add Binary Sensors for Airzone Systems (#69736) 2022-05-09 09:07:11 -05:00
Paulus Schoutsen
539ce7ff0e Allow mobile app to disable entities by default (#71562) 2022-05-09 08:05:31 -05:00
Álvaro Fernández Rojas
a599325c2d Add QNAP QSW Binary Sensor platform (#70868) 2022-05-09 07:44:14 -05:00
epenet
141688e210 Cleanup ServiceInfo compatibility (#60540)
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 14:17:48 +02:00
Erik Montnemery
d284e579bb Improve Google Cast detection of HLS playlists (#71564) 2022-05-09 13:57:32 +02:00
Erik Montnemery
524920dd2e Add 'toggle' device action to fans (#71570) 2022-05-09 13:49:35 +02:00
Robert Hillis
4db289ad6e Remove deprecated yaml config from Deluge (#71487) 2022-05-09 13:22:51 +02:00
epenet
08856cfab0 Remove 1-Wire SysBus (ADR-0019) (#71232) 2022-05-09 13:16:23 +02:00
J. Nick Koston
30fdfc454f Avoid lowercasing entities after template ratelimit recovery (#71415) 2022-05-09 12:48:38 +02:00
Jan Bouwhuis
5d9dc8252b Use helper for testing an event change (#71579) 2022-05-09 11:52:08 +02:00
Shai Ungar
f50681e3d3 Migrate sabnzbd sensors unique ids (#71455)
* Migrate sensors unique ids

1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration

* move migrate to async_setup_entry

* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry

* fix too many lines

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-09 09:27:23 +02:00
epenet
1be2438ef6 Use climate enums in mqtt (#70696) 2022-05-09 08:15:11 +02:00
J. Nick Koston
24d7a464e1 Refactor logbook to reduce overhead and complexity (#71509) 2022-05-08 21:47:26 -07:00
Guido Schmitz
2b30bda6c8 Add binary sensor platform to devolo Home Network (#60301)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 21:33:20 -05:00
J. Nick Koston
cec7e53302 Fix zeroconf tests (#71557) 2022-05-08 19:15:18 -07:00
Fairesoimeme
1d63c2069e Add ZiGate device on automatic integration USB and ZEROCONF (#68577)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 18:27:09 -05:00
Álvaro Fernández Rojas
9a5e0281db Add missing AEMET weather units (#70165) 2022-05-08 18:20:18 -05:00
Shawn Saenger
5e737bfe4f Add ws66i core integration (#56094)
* Add ws66i core integration

* Remove all ws66i translations

* Update ws66i unit tests to meet minimum code coverage

* Update ws66i based on @bdraco review

* General improvements after 2nd PR review

* Disable entities if amp shutoff, set default source names, set 30sec polling

* Add _attr_ and change async_on_unload

* Improve entity generation

* Implement coordinator

* Made options fields required, retry connection on failed attempts, use ZoneStatus for attributes

* Refactor WS66i entity properties, raise HomeAssistantError on restore service if no snapshot

* Update to pyws66i v1.1

* Add quality scale of silver to manifest

* Update config_flow test
2022-05-08 16:52:39 -05:00
J. Nick Koston
7c9c0e911a Move do_adhoc_statistics to recorder test helpers (#71544) 2022-05-08 12:45:57 -07:00
Brandon Rothweiler
e46310ac0b Add device class for Mazda pressure sensors (#71539) 2022-05-08 20:29:58 +01:00
Paul Annekov
2eaaa525f4 Add Ukraine Alarm integration (#71501)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-08 08:22:20 -07:00
Jelte Zeilstra
d52137cc1a Add state class measurement to deCONZ LightLevel sensors (#71516) 2022-05-08 15:54:43 +02:00
J. Nick Koston
a8aa0e1cca Add Estimated Database Size to the recorder system health (#71463) 2022-05-07 21:02:54 -07:00
Paulus Schoutsen
e35a5a1a28 Fix other enums in helpers (#71505) 2022-05-07 20:57:48 -07:00
J. Nick Koston
523828c81e Ensure sql sensors keep working after using the options flow (#71453)
* Ensure sql sensors keep working after using the options flow

Fixes
```
2022-05-06 16:17:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sql platform for sensor
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 97, in async_setup_entry
    name: str = entry.options[CONF_NAME]
KeyError: name
```

* ensure saving the options flow fixes the broken config entry

* ensure options changes take effect right away

* Add cover to validate the reload
2022-05-07 14:18:40 -07:00
Álvaro Fernández Rojas
21cee3b1c4 airzone: improve diagnostics (#71488)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-07 23:13:12 +03:00
Paulus Schoutsen
b1a04302b5 Stringify enums in selectors (#71441) 2022-05-06 11:25:01 -07:00
G Johansson
e5619f4af1 Remove yaml import trafikverket_train (#71410) 2022-05-06 14:27:12 +03:00
G Johansson
5931f6598a Add tests for Sensibo (#71148)
* Initial commit

* Check temperature missing

* fix temp is none

* Fix parallell

* Commit to save

* Fix tests

* Fix test_init

* assert 25

* Adjustments tests

* Small removal

* Cleanup

* no hass.data

* Adjustment test_coordinator

* Minor change test_coordinator
2022-05-06 10:05:15 +03:00
J. Nick Koston
d612b9e0b4 Reduce event loop overhead for listeners that already queue (#71364)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-05 23:09:10 -04:00
Graham Arthur Blair
c22cf3b3d2 Add buttons to Ring chime devices to play ding and motion chimes (#71370)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-05 16:12:51 -07:00
Paulus Schoutsen
c8f95b7dfc Ignore loading system entity category (#71361) 2022-05-05 14:33:37 -07:00
Paulus Schoutsen
353cc0b8c2 Fix importing blueprints (#71365)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-05 14:33:17 -07:00