[#29] Support for general-purpose entities #230
Closed
blacklight
wants to merge 0 commits from
29-generic-entities-support
into master
pull from: 29-generic-entities-support
merge into: platypush:master
platypush:master
platypush:341/procedure-entities-ui
platypush:341/procedure-entities
platypush:fix-zigbee-mqtt
platypush:stable
platypush:286/merge-foursquare-backend
platypush:271/runtime-integrations
platypush:317-ci-cd-automation-for-stable-branch
platypush:311/auto-generate-deps-docs
Closes: #29
TODO list:
zigbee
/zwave
light.hue
plugin/backendsmartthings
device_set
if the device is write-onlylast_updated_at
in entitieszwave
configuration entitieszigbee
configuration entitieszwave.mqtt
zwave.mqtt
zigbee.mqtt
smartthings
zigbee.mqtt
plugin/backendzwave.mqtt
plugin/backend@manages
workaround with propertyEntityManager
classswitchbot
integrationbluetooth
integration[ ] Support OTA updates on(moved to #242)zigbee.mqtt
entities[ ] Support OTA updates on(moved to #242)zwave.mqtt
entities[ ] Support sensors in(moved to #243)light.hue
[ ] Support dimmers in(moved to #243)light.hue
switchbot
[ ] Support nested filters on(requires further refinements/use cases)@hook
data
attributes on UI modal[ ] Add support for groups(moved to #244)[ ] Add support for scenes(moved to #245)[ ] Entity history(too complex to implement, too many use cases, and it can probably be handled better with custom user scripts on entity events that store them however the user wants)switches
zwave
integration[ ] Implement camera entities(moved to #246)reachable
flag[ ] TV entities support for(smartthings
/samsungtvws
smartthings
TV support has already been implemented, whilesamsungtvws
is too specific to be modeled as a generic entity)[ ] Media player entities support(moved to #247)[ ] Audio player entities support(moved to #248)[ ] Audio stream entities support(moved to #249)<keep-alive>
components.exception
action to logger plugin 2c4c27855dicon_class
) db7c2095eaentities
should be the default view when the web panel is opened a9751f21f1reachable
flag to device entities 90f067de61light
entities 975d37c562light.hue
plugin. 8d57cf06c2data
attributes in the entity info modal b16af0a97freachable
is an attribute ofstate
46df3a6a98light.hue
backend 117f92e5b4entities.get
89560e7c38WIP: Support for general-purpose entitiesto [#29] WIP: Support for general-purpose entitiesextend_existing=True
for entity tables 5f09d449f4zwave
plugin and backend (usezwave.mqtt
instead) 1af7ece881zigbee.mqtt
a1cf671334No converter available
warnings on zigbee2mqtt d7214c4c83expanded
data attribute 68dd09e8aeEnumSwitch
entity type 00a43dd1f8user_manager
should be a global object instead of being initialized on-demand 8a894d0989_get_session
inEntityManager
bfeb0a08c4PRAGMA foreign_keys = ON
before deleting entities on SQLite 24f5a8283czigbee.mqtt
211372e472zwave.mqtt
d171000a0eEnumSensor
entities b9e6614b04UserManager.get_users
ae17a12c12data
attribute onEntityUpdateEvent
shouldn't be taken into account for flashing updates bba582875a[#29] WIP: Support for general-purpose entitiesto WIP: [#29] WIP: Support for general-purpose entitiesWIP: [#29] WIP: Support for general-purpose entitiesto WIP: [#29] Support for general-purpose entitieszwave.mqtt
entities cc156a53a1zwavejs2mqtt
project has been renamedzwave-js-ui
09d70e2ff1zigbee.mqtt
1ab85f99d9Base.metadata
instead of having a separate entity registry ecba72935fbackend.zwave
event logic dispatch for recent versions of ZWaveJS. 313105f014zwave.mqtt
backend 6a2a3100f8autoflush
should be passed as an option todb.get_session
. c4f649a0d5zwave.mqtt
value attributes. cf9d34d38edisable_logging
with a more genericlogging_level
. d4b540dd67backend.http
. edddc90d73zwave
entities 01727f53bczigbee.mqtt
4a2851231czigbee.mqtt
22a566a88bzwave.mqtt
backend 32e4e60579smartthings
ddd516a677smartthings
. 6d4cf64253stop_timeout
(default=5) for RunnablePlugin bb637a1411Volume
andMuted
entities fd76642082Sensor
instances should haveis_read_only=True
by default 147f36c86csmartthings
ba31dff06asmartthings
integration afdeb91f66zigbee.mqtt
backend into the plugin. 341e749d23zwave.mqtt
backend into thezwave.mqtt
plugin 8aff181956@manages
annotation into a properEntityManager
hierarchy be3b99326fswitch.tplink
plugin. 3db9c58d31utils
plugin 6ef2feea71get_sensor_plugins
andget_switch_plugins
actions a160d3217eswitch.wemo
integration now extendsSwitchEntityManager
0311d87bc3Dimmer
display value if it's available db5846d296Config
class b96838a856switchbot
plugin as a runnable plugin + entity manager 2047b9b76cswitchbot
06dfd1a152RunnablePlugin
set to 30 seconds b8fca97891utils
module + additional documentation 4849e14414SwitchPlugin
9d028af524publish_entities
return the list of transformed_entities 35719b0da9switchbot.bluetooth
integration. 8469a1027fswitchbot.bluetooth
. f30e077a5abluetooth.ble
plugin to usebleak
instead ofgattlib
. b0cc80ceb0set
as a base method for all plugins that implement writeable entities 575635fd6bEntityManager.set
1d0be5c929scan_pause
/scan_resume
onbluetooth
integration. a3aa186ddfbackend.bluetooth.scanner
. 45664be44bEntityManager._normalize_entities
8aedc3c233BluetoothDevice
. a6c36fa1c1AsyncRunnablePlugin
. 9112239ac3bluetooth.connect
in a per-device locked section. 73bf2446bdtype: ignore
comments. 340fd08064smartthings
b2ffc08c89RawSensor
entity. dc7cbe743dBluetoothDeviceNewDataEvent
. a5a923a752RawSensor
inbluetooth
integration. 9776921836StepsSensor
entity. e1b3d52706StepsSensor
detection tobluetooth
. 3dab94c346TimeDurationSensor
entity. d961e2a997unit
tobluetooth
mappers whenever available. dd3f683006PressureSensor
entities. d212276247DewPointSensor
entities. 56d693032abluetooth
devices with multiple temperature sensors. 886b930e2fPresenceSensor
entities. a0556d3a42bluetooth
entity types in_mappers.py
. 2dfb389630success
response attribute. 70d1bb893cconnect
anddisconnect
actions tobluetooth
. 15fadb93bbunit
column toRawSensor
entity. ead4513915poll_interval
forRunnablePlugin
. a688e7102e.copy()
method toEntity
. 7e92d5f244EntitiesDb.upsert
should return a deep copy of the upserted entities. 31552963c4to_json
method. 4bc61133c5children
fromBluetoothDevice.to_json
- it makes events too verbose 256d9adbf2connected
flag toBluetoothService
. 243de15813parent
component value toEntity
. f74fab795dexcluded_manufacturers
toBluetoothPlugin
. b1cb7ef847bluetooth.ServiceClass
. c750d83188value
as well as_value
fields. 486f37a45eunit
in BLE sensors when they are matched against the native type. f7e8cfe5a7exclude_known_noisy_beacons
tobluetooth
plugin. 01d323fad0Apple Continuity
to the list of blacklisted manufacturers/models a2a5fce6cbBleakError
exceptions intoAssertionError
. 6267943786get_device
. 43289a3b55bluetooth.set
method, whose execution is delegated to the plugins. 4fac110bb8switchbot.bluetooth
integration migrated to abluetooth
plugin. 0cebcf4f9bBluetoothDevice.reachable
when a device is found/lost. 913ef6f8cdStoppableThread
common interface. 4b4db5b3c7OBEX_FILE_TRANSFER
constant todirectory
stub. 998793e94fwait_stop
andshoud_stop
methods toStoppableThread
. 5ebf4e912eStoppableThread
API. 3c355352c5bluetooth
backends. 567e9d4e21marshmallow_dataclass
to the requirements. f5d9895521platypush.entities._managers
->platypush.entities.managers
. 7bbae55e44EnumField
. 4b9c5a0203linode
integration. bc2730c841Event.__init__
. 30124e7cefntfy.send_message
. 6d674fef21maxdepth
attribute in generate docs. efe400f921s/instance/instance_name/g
inLinodeInstanceStatusChanged
. c0251ef2f7nav
on desktop+ cf91ab90dfasyncio.wait([])
withasyncio.gather(*[])
. bce2fdee25.title
inget_plugin
with.upper
on the first character. e198f2a175distance_sensor
entity 226034946fserial
plugin. 1efaff878ebinary
flag both onserial.read
andserial.write
. 7bdd877e49get_lock
should raise a TimeoutError iflock.acquire
is False 42d468c895common.sensors
package. 6a3ade3304SensorDataEvent
for sensor events. bf75eb73acsensor
backend replaced by an extendedsensor
runnable plugin. bf4db76830serial
plugin migrated to the newSensorPlugin
interface. 6a5a5de03evl53l1x
plugin migrated to the newSensorPlugin
interface. 7912a59ff8enabled_sensors
to thesensor
plugin c23e8867e2poll_seconds
option onRunnablePlugin
6f237a1500sensor.bme280
to the newSensorPlugin
interface. 5dabfed365NoneType
reference. 98ec018292SensorPlugin.publish_entities
with a list if not required 8e0f88ea16ltr559
integration to the new API. c1d0f21eadsensor.transform_entities
99572f9731sensor.vl53l1x.transform_entities
to call the parent. f24d0773d1sensor.*
icon classes 839c6108a0s/TimeDurationSensor/TimeDuration/g
d964167631ThreeAxisSensor
8d4aa310f4