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

44814 Commits

Author SHA1 Message Date
Simone Chemelli
e1de6612be Fix socket usage in Aprs test (#60253) 2021-11-24 03:02:03 +01:00
cvroque
4555f52e50 Add configuration entities to Tuya Vacuum (sd) (#59936) 2021-11-24 02:15:49 +01:00
Franck Nijhof
4c3163196e Temporary disable partial runs in CI (#60258) 2021-11-24 02:13:38 +01:00
Matthias Alphart
3dac661480 Rewrite Fronius integration (#59686)
* Add unique_id and use DataUpdateCoordinator in Fronius (#57879)

* initial refactoring commit - meters

- config_flow (no strings, no tests yet)
- import yaml config
- FroniusSolarNet class for holding Fronius object , coordinators and some common data
- meter descriptions
- update coordinator
- entities (including devices)

* storage controllers

* error handling on init; inverter unique_id

* inverters

* power_flow

* fix VA, var, varh not valid for device_class power/energy

and add custom icons

* add SolarNet device for system wide values

* cleanup

* config_flow strings

* test config_flow

* use pyfronius 0.7.0

* enable strict typing

* remove TODO comments

* fix lint errors; move FroniusSensorEntity to sensor.py

* power_flow as optional coordinator

API V0 doesn't support power_flow endpoint

* show error message in logs

* prevent parallel requests to one host

* logger_info coordinator

* store FroniusSolarNet reference directly in coordinator

* cleanup coordinators when unloading entry

* round floats returned by Fronius API

* default icons for grid im/export tariffs

* small typing fix

* Update homeassistant/components/fronius/sensor.py

Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>

* DC icons

* prepend names with "Fronius" and device type

to get more reasonable default entity_ids (eg. have them next to each other when alphabetically sorted)

* remove config_flow and devices

* rename _FroniusUpdateCoordinator to FroniusCoordinatorBase

and mark ABC

* move SensorEntityDescriptions to sensor.py

* Revert "move SensorEntityDescriptions to sensor.py"

This reverts commit 2e5a726eb65854f236a0c72f3f67f04a6f8a2eff.

* Don't raise ConfigEntryNotReady and use regular refresh method

* move bridge initialization out of helper class

* no coverage tests

* power_flow update interval 10 seconds

* move SensorEntityDescriptions to sensor.py

without introducing a circular dependency

* deprecation warning for CONF_MONITORED_CONDITIONS

* remove extra_state_attributes form meter sensor entities

* readd diagnostic entities

* decouple default entity_id from default name

* use key instead of name for entity_id

and make deprecated config key optional

* adjust tests

* use old entity_ids

these changes are now backwards compatible

* check coverage

* simplify entity description definitions

* restore entity names of previous implementation

Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>

* Add config_flow for Fronius integration (#59677)

* Cleanup Fronius config_flow and tests (#60094)

* Add devices to Fronius integration (#60104)

* New entity names for Fronius entities (#60215)

* Adaptive update interval for Fronius coordinators (#60192)

Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>
2021-11-24 02:04:36 +01:00
Franck Nijhof
314f593066 Add partial codecov flag to CI to trigger carryforward coverage (#60256) 2021-11-24 01:34:03 +01:00
Simone Chemelli
7e9ff26b4c Add slow tests list to VScode task code coverage (#60183) 2021-11-24 01:13:44 +01:00
Franck Nijhof
ec44a55b2c Make partial test suite not waiting for linters (#60254) 2021-11-24 01:09:55 +01:00
Franck Nijhof
6b59e305cb Run partial test suite in CI if core untouched (#60230)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-23 14:57:45 -08:00
Oleksandr Kapshuk
d677baba36 Add hjjcy device category to Tuya integration (#60224) 2021-11-23 23:42:21 +01:00
Kamil Doległo
a7c44d89e1 Fix Tuya integration for climate devices (#60229) 2021-11-23 23:33:36 +01:00
cvroque
28da8c474c Check if Tuya Vacuum (sd) is able to report status directly before using pause switch (#59888) 2021-11-23 23:32:03 +01:00
Maciej Bieniek
ac3dc0b090 Use native datetime value in NAM uptime sensor (#60241) 2021-11-23 23:25:48 +01:00
Michael Chisholm
9fa6daf47a dlna_dmr: Ignore philips tv (#60204) 2021-11-23 23:22:34 +01:00
Maciej Bieniek
4649bc3c11 Add LED brightness for Xiaomi Miio ZA5 fan (#60134) 2021-11-23 23:21:07 +01:00
Erik Montnemery
615198a58f Use pychromecast CastInfo type in cast integration (#60205) 2021-11-23 23:17:58 +01:00
Michael
027577805e Use attribute shortcuts in Samsung TV integration (#60171)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-23 23:15:05 +01:00
Andreas Brett
cee5595ba7 Add pi_hole entity "available_updates" (#56181)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-23 23:05:27 +01:00
epenet
44611d7e26 Use dataclass for ZeroconfServiceInfo (#60206)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:59:36 +01:00
Michael
2de0a14db0 Use native datetime value in IPP sensors (#60234) 2021-11-23 22:55:32 +01:00
J. Nick Koston
af51aeb6dc Show how user input is malformed in the UI on error (#60057) 2021-11-23 22:50:54 +01:00
Erik Montnemery
135778fe91 Enable basic type checking for awair (#55046) 2021-11-23 22:49:42 +01:00
avee87
9088a6a138 Add device registry entry for MetOffice (#58683) 2021-11-23 22:45:23 +01:00
Marc Mueller
6089aef072 Enable strict typing - wallbox (#59301) 2021-11-23 22:30:22 +01:00
J. Nick Koston
ce369bb336 Reduce flux_led light turn on complexity (#60139) 2021-11-23 22:23:38 +01:00
Erik Montnemery
24779dea3b Bump device registry version to 1.2 (#60199) 2021-11-23 22:22:15 +01:00
Sergiy Maysak
73d4445f80 Bumped version of wirelesstagpy to 0.8.0 (#60125) 2021-11-23 22:21:10 +01:00
Robert Dunmire III
fd8229f4f4 Bump librouteros version to 3.2.0 (#60066) 2021-11-23 22:18:19 +01:00
J. Nick Koston
52e0027fad Limit homekit sources to prevent exceeding 100 limit (#59743) 2021-11-23 22:15:08 +01:00
Franck Nijhof
5c443b626a Use native datetime value in MQTT sensors (#59923) 2021-11-23 22:10:14 +01:00
epenet
4480e1255a Use MqttServiceInfo in tasmota (#60113)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:07:10 +01:00
Philip Allgaier
a5dc0e37b8 Consistent capitalization for Synology DSM entity names (#60237) 2021-11-23 22:06:05 +01:00
bashworth
df5d678858 Tado ignore fix (#60011)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-23 22:00:42 +01:00
J.P. Krauss
2d29ef9b63 Avoid errors when AirNow API does not return all expected pollutants (#60232)
Co-authored-by: Aaron Bach <bachya1208@gmail.com>
2021-11-23 21:54:53 +01:00
Michael
a3bf56c11d Use native datetime value in Systemmonitor sensors (#60236) 2021-11-23 21:46:31 +01:00
Henrik
0a0928b9f5 Add daikin sensor state class (#60145)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-23 21:46:10 +01:00
Ville Skyttä
7c6a72b086 Remove unneeded pylint disables (#60235) 2021-11-23 21:40:53 +01:00
Michael
6588879b6e Use native datetime value in AVM Fritz!Tools sensors (#60233) 2021-11-23 21:20:51 +01:00
Michael
9a328eae67 Use native datetime value in Synology DSM sensors (#60176) 2021-11-23 20:03:22 +01:00
Maikel Punie
c27948a82a Fully migrate to attribute shorthand in velbus (#59797)
* Move velbus completly to _attr instead of propertys

* Commit all sugestions

* One more sugestion

* Fixed light.py
2021-11-23 12:10:03 -06:00
J. Nick Koston
881d35ab17 Split up yeelight code into multiple files (#59990) 2021-11-23 11:56:07 -06:00
J. Nick Koston
6524cd4eb2 Fix user input malformed with deleted entities in HomeKit exclude flow (#60061) 2021-11-23 11:46:54 -06:00
J. Nick Koston
400aaeaa91 Ensure homekit setup messages run in event loop (#60226) 2021-11-23 11:40:20 -06:00
epenet
9f74ad06d6 Update ZeroconfServiceInfo in tests (t-z) (#60221)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 11:28:50 -06:00
epenet
cbbf22db52 Use dataclass for UsbServiceInfo (#60140)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:51:54 -06:00
epenet
77dfeb062f Update ZeroconfServiceInfo in tests (n-t) (#60219)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:35:44 -06:00
Franck Nijhof
7a0ff4e2e1 Add button support to Alexa (#60163) 2021-11-23 08:19:13 -08:00
Michael
e3910856ad Use native datetime value in Shelly sensors (#60179)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-23 08:18:58 -08:00
Raman Gupta
d249743ccf Bump zwave-js-server-python to 0.33.0 (#60213) 2021-11-23 10:53:46 -05:00
epenet
f6bbdec6cb Use BaseServiceInfo inheritance in MqttServiceInfo (#60207)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 16:52:33 +01:00
epenet
31b033ac25 Update ZeroconfServiceInfo in tests (g-m) (#60217)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:42:38 -06:00