hass-core/homeassistant
Patrick Frazer fce1b6d248
Add DROP integration (#104319)
* Add DROP integration

* Remove all but one platform for first PR

* Simplify initialization of hass.data[] structure

* Remove unnecessary mnemonic 'DROP_' prefix from DOMAIN constants

* Remove unnecessary whitespace

* Clarify configuration 'confirm' step description

* Remove unnecessary whitespace

* Use device class where applicable

* Remove unnecessary constructor and change its elements to class variables

* Change base entity inheritance to CoordinatorEntity

* Make sensor definitions more concise

* Rename HA domain from drop to drop_connect

* Remove underscores from class and function names

* Remove duplicate temperature sensor

* Change title capitalization

* Refactor using SensorEntityDescription

* Remove unnecessary intermediate dict layer

* Remove generated translations file

* Remove currently unused string values

* Use constants in sensor definitions

* Replace values with constants

* Move translation keys

* Remove unnecessary unique ID and config entry references

* Clean up DROPEntity initialization

* Clean up sensors

* Rename vars and functions according to style

* Remove redundant self references

* Clean up DROPSensor initializer

* Add missing state classes

* Simplify detection of configured devices

* Change entity identifiers to create device linkage

* Move device_info to coordinator

* Remove unnecessary properties

* Correct hub device IDs

* Remove redundant attribute

* Replace optional UID with assert

* Remove redundant attribute

* Correct coordinator initialization

* Fix mypy error

* Move API functionality to 3rd party library

* Abstract device to sensor map into a dict

* Unsubscribe MQTT on unload

* Move entity device information

* Make type checking for mypy conditional

* Bump dropmqttapi to 1.0.1

* Freeze dataclass to match parent class

* Fix race condition in MQTT unsubscribe setup

* Ensure unit tests begin with invalid MQTT state

* Change unit tests to reflect device firmware

* Move MQTT subscription out of the coordinator

* Tidy up initializer

* Move entirety of MQTT subscription out of the coordinator

* Make drop_api a class property

* Remove unnecessary type checks

* Simplify some unit test asserts

* Remove argument matching default

* Add entity category to battery and cartridge life sensors
2023-12-22 14:24:08 +01:00
..
auth Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
backports
brands Add Flexit bacnet integration (#104275) 2023-11-30 16:50:13 +01:00
components Add DROP integration (#104319) 2023-12-22 14:24:08 +01:00
generated Add DROP integration (#104319) 2023-12-22 14:24:08 +01:00
helpers Deprecate deprecated device_registry helper constants (#106227) 2023-12-22 11:21:45 +01:00
scripts Remove logic converting empty or falsy YAML to empty dict (#103912) 2023-12-05 18:08:11 +01:00
util Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Add domain key config validation (#104242) 2023-12-05 15:07:32 +01:00
config.py Deprecate legacy_templates (#105556) 2023-12-22 00:42:16 +01:00
config_entries.py Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
const.py Add Valve integration (#102184) 2023-12-18 19:48:00 +01:00
core.py Trigger Home Assistant shutdown automations right before the stop event instead of during it (#91165) 2023-12-05 11:24:41 -10:00
data_entry_flow.py Small speed up to data entry flow steps (#105713) 2023-12-14 17:32:14 +01:00
exceptions.py Raise and suppress stack trace when reloading yaml fails (#102410) 2023-11-24 17:34:45 +01:00
loader.py Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
package_constraints.txt Bump aiohttp-zlib-ng to 0.1.2 (#106193) 2023-12-22 00:03:42 +01:00
requirements.py
runner.py
setup.py Use modern platform path when reporting platform config errors (#104238) 2023-12-05 15:06:13 +01:00
strings.json