platypush/platypush/entities
Fabio Manganiello f45e47363d
Use lazy='joined' instead of lazy='selectin' on Entity.parent.
That's the best way to ensure that all the columns are fetched eagerly and
prevent errors later when trying to access lazily loaded attributes outside
of the session/thread.
2023-03-10 12:01:23 +01:00
..
_engine A dirty fix to prevent DetachedInstanceError when accessing the parent entity. 2023-03-10 11:45:44 +01:00
_managers Several fixes and improvements on the entities engine. 2023-03-09 01:16:04 +01:00
__init__.py Added utility get_entities_engine() function. 2023-03-10 11:49:23 +01:00
_base.py Use lazy='joined' instead of lazy='selectin' on Entity.parent. 2023-03-10 12:01:23 +01:00
audio.py Added `Volume` and `Muted` entities 2023-01-22 21:04:46 +01:00
batteries.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
bluetooth.py Added brand, model and model_id columns to `BluetoothDevice`. 2023-02-19 23:02:04 +01:00
buttons.py Implemented remaining supported entities for the `smartthings` integration 2023-01-26 22:10:02 +01:00
contact.py Added remaining `bluetooth` entity types in `_mappers.py`. 2023-02-23 21:20:41 +01:00
devices.py Added some more docstrings to entities. 2023-02-22 01:02:26 +01:00
dimmers.py Added some more docstrings to entities. 2023-02-22 01:02:26 +01:00
electricity.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
heart.py Added support for heart rate sensor entities. 2023-02-23 00:55:55 +01:00
humidity.py Added `DewPointSensor` entities. 2023-02-23 01:23:04 +01:00
illuminance.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
lights.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
linkquality.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
motion.py Added MotionSensor entities 2023-01-21 14:47:18 +01:00
presence.py Added remaining `bluetooth` entity types in `_mappers.py`. 2023-02-23 21:20:41 +01:00
pressure.py Added `PressureSensor` entities. 2023-02-23 01:12:27 +01:00
sensors.py Added optional `unit` column to `RawSensor` entity. 2023-03-03 01:59:27 +01:00
steps.py Added `StepsSensor` entity. 2023-02-23 00:45:58 +01:00
switches.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
temperature.py Check for table metadata existance in `Base.metadata` instead of having a separate entity registry 2022-12-04 16:28:46 +01:00
time.py Added `TimeDurationSensor` entity. 2023-02-23 01:02:13 +01:00
weight.py Added remaining `bluetooth` entity types in `_mappers.py`. 2023-02-23 21:20:41 +01:00