[#29] Support for general-purpose entities #230
No reviewers
Labels
No labels
architecture
authentication
backend
bug
ci/cd
cleanup
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
media
mobile
new feature
packaging
question
ui
voice
waiting user input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: platypush/platypush#230
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "29-generic-entities-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
8d4aa310f4Entity.to_dict
now takes into account columns mapped to properties. 9e5ad0e0b1Message.Encoder
should serialize binary data to0x
-led hex strings. 31f411868cEntity
should useMessage.Encoder
as a JSON serializer. 3cd42c9e45envirophat
to the newSensorPlugin
API. 7697c1c6adabs(old_data - new_data) >= tolerance
. 88784985e1_last_measurement
only if some events were processed from the new data. fcdda40c4apmw3901
integration. 44cf25271csensor.accelerometer
integration. 8f604445a2dht
integration. beff88986asensor.distance
integration. 962c55937dmcp3008
integration to the newSensorPlugin
API. ac2ec58f89arduino
integration to the newSensorPlugin
API. d5ddc0c65esensor.mcp3008
plugin. 8852cb8db4gpio.sensor
base plugin. 6e5f746dbeswitchbot
. 10955dad72poll_seconds
inlight.hue
. a499b7bc2fsystem
plugin to support entities. b43017ef01include_children
parameter to_merge_columns
. e7f64843a5PercentSensor
entity type. 65481dc6b4Cpu
andCpuTimes
entities. e810025a6dCpuTimes
. 6e65783feballEntities
. 4842c1911bCpuTimes
as an entity of thesystem
plugin. b9286f50b0CpuTimesResponse
. 711cc2b239percent
entity tocpu
. b4fbd3e915CpuStats
entity tosystem
. a5b0a524f6CpuFrequency
entity tosystem
. 1cee0459cfload_average
entity. 0073239a40convertTime
utility function e8c96ad35ddisk
entities in thesystem
integration. 44b8fd4b34NetworkInterface
entities tosystem
plugin. 98a300c4b1NetworkConnection
schema/response. b3a0896485.status
fails. 2d618188c8NetworkInterface
model. 977b55dea9network_stats
intoNetworkInterface
model. 374f936c1fsystem
plugin. b3440ab96bsystem
plugin. a72c32cb00poll_interval
forsystem
plugin to 60 seconds. 763d9e06ecbackend.sensor.battery
. 259b42bdd6system.connected_users
to the new data model. 387616ea96system.processes
to the new data model. 27b1048789zigbee.mqtt
plugin. 9c1855e4c0WIP: [#29] Support for general-purpose entitiesto [#29] Support for general-purpose entitiesThis PR has already been open for more than a year. Since most of the planned foundational features have now been implemented, this PR can be closed. New tickets have been created for the remaining features.
Pull request closed