Commit Graph

42516 Commits (3f8362fe1c96cbdadbd0fd431bc89fe92c7426a9)

Author SHA1 Message Date
Michał Huryn 3f8362fe1c
Refactor blebox sensors (#80671)
refactor: sensors, entity description pick moved to async_setup_entry, removed redundant dataclass
2022-10-20 15:51:29 +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
epenet 2c43606922
Add websocket type hints in components (#80654)
* Add websocket type hints in components

* Adjust

* Apply suggestion

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-20 13:41:14 +02: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 eb93372cd6
Improve type hint in entity_component (#80596)
Imrpove type hint in entity_component
2022-10-20 12:38:22 +02:00
Bram Kragten 454394a242
Update frontend to 20221020.0 (#80661) 2022-10-20 12:29:51 +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
Jan Bouwhuis cce4485fb7
Add missed write state request for MQTT cover (#80540)
Missed write state request for MQTT cover
2022-10-20 11:22:30 +02:00
Robert Hillis 41faa017cd
Use custom attributes description in Sonarr (#79845)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-20 10:44:17 +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
Marc Mueller d78c2a31a1
Update pylint to 2.15.4 (#80612) 2022-10-20 08:59:06 +02:00
J. Nick Koston 540d959dd2
Bump bluetooth-auto-recovery to 0.3.6 (#80643)
* Bump bluetooth-auto-recovery to 0.3.5

changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.3.4...v0.3.5

* bump again for more rfkill fixes
2022-10-20 07:13:41 +02:00
Chris Talkington ce35812937
Address jellyfin sensor feedback (#80222) 2022-10-19 20:37:18 -05:00
GitHub Action 265e2741e7 [ci skip] Translation update 2022-10-20 00:32:39 +00:00
J. Nick Koston 2c36ee412a
Bump dbus-fast to 1.47.0 (#80633) 2022-10-19 16:52:19 -05: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
epenet bdfead9095
Fix invalid warning in scrape (#80599) 2022-10-19 23:02:11 +02:00
rozie bad840e464
Fix solaredge missing data value (#80321)
* Fix issue #80263: use get to fetch dict value

* use None instead -1 for unknown value

* Update homeassistant/components/solaredge/coordinator.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Add guards for not multipling None

* Missing if added

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-10-19 22:48:39 +02:00
Robert Svensson 60a208a860
Add integration_type to Axis, deCONZ and UniFi manifest (#80630) 2022-10-19 21:56:19 +02: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 2b2275dfb3
Use US_CUSTOMARY_SYSTEM in components (#80623) 2022-10-19 18:54:50 +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 05ef02bff6
Add precipitation_intensity sensor device class (#79779) 2022-10-19 16:04:11 +02:00
epenet 62b0735822
Adjust precipitation units in components (#79783)
* Adjust precipitation units in components

* Don't update darksky
2022-10-19 15:09:05 +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 a70f9b8995
Add type hints to rest integration (#80546) 2022-10-19 14:35:23 +02:00
epenet dc2a87b9ae
Fix invalid type hint in scrape (#80543) 2022-10-19 13:49:01 +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
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 eca21ceff0
Make all datetime columns in recorder DB µs precision (#80584) 2022-10-19 10:26:17 +02:00
Erik Montnemery d1facab71c
Add guard in recorder retry function (#80585) 2022-10-19 10:05:55 +02:00
epenet c0be1d9fad
Add websocket type hints in blueprint (#80531) 2022-10-18 22:23:17 -04:00
epenet 971ac015e7
Add websocket type hints in config (#80532) 2022-10-18 22:15:55 -04:00
epenet 60640b4436
Add websocket type hints in components (#80533) 2022-10-18 22:15:23 -04:00
epenet eca45f9dd0
Add websocket type hints in conversation (#80535) 2022-10-18 22:08:06 -04:00
Franck Nijhof e3919babb2
Add chart service to LaMetric (#80554) 2022-10-18 19:36:19 -06:00
epenet ddba653158
Add new codeowners to scrape (#80569) 2022-10-18 19:29:11 -06:00
GitHub Action a04c9892e7 [ci skip] Translation update 2022-10-19 00:35:27 +00:00
Franck Nijhof 86f9b8231f
Update demetriek to 0.4.0 (#80567) 2022-10-19 00:51:36 +03:00
Ivan Puddu 8db416f1d6
Skip webostv trigger validation before the domain is setup (#80372)
* Skip trigger validation before the domain is setup

* Included None as return type

* Keep function signature intact. Check at the source
2022-10-18 23:53:34 +03: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
J. Nick Koston 551b3374f1
Bump aiohomekit to 2.1.1 (#80560)
fixes #80455

changelog: https://github.com/Jc2k/aiohomekit/compare/2.1.0...2.1.1
2022-10-18 22:57:32 +03:00
Maciej Bieniek 1b130eb271
Save last target temperature in Shelly climate platform (#80561)
Save last target temp
2022-10-18 22:55:50 +03:00
Shay Levy 8e9457d808
Add Shelly support for sleeping Gen2 devices (#79889) 2022-10-18 22:42:22 +03:00
Shay Levy 98ca28ab1c
Bump aioswitcher to 3.1.0 (#80534) 2022-10-18 19:19:04 +02:00
J. Nick Koston a708fc9984
Bump bleak-retry-connector to 2.3.1 (#80549) 2022-10-18 11:48:52 -05:00