mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
parent
6003f3d135
commit
27b0488f05
@ -50,11 +50,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: PaperlessConfigEntry) ->
|
|||||||
statistics=statistics_coordinator,
|
statistics=statistics_coordinator,
|
||||||
)
|
)
|
||||||
|
|
||||||
entry.runtime_data = PaperlessData(
|
|
||||||
status=status_coordinator,
|
|
||||||
statistics=statistics_coordinator,
|
|
||||||
)
|
|
||||||
|
|
||||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"celery_status": {
|
"celery_status": {
|
||||||
"name": "Status celery",
|
"name": "Status Celery",
|
||||||
"state": {
|
"state": {
|
||||||
"ok": "[%key:component::paperless_ngx::entity::sensor::database_status::state::ok%]",
|
"ok": "[%key:component::paperless_ngx::entity::sensor::database_status::state::ok%]",
|
||||||
"warning": "[%key:component::paperless_ngx::entity::sensor::database_status::state::warning%]",
|
"warning": "[%key:component::paperless_ngx::entity::sensor::database_status::state::warning%]",
|
||||||
@ -111,7 +111,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"redis_status": {
|
"redis_status": {
|
||||||
"name": "Status redis",
|
"name": "Status Redis",
|
||||||
"state": {
|
"state": {
|
||||||
"ok": "[%key:component::paperless_ngx::entity::sensor::database_status::state::ok%]",
|
"ok": "[%key:component::paperless_ngx::entity::sensor::database_status::state::ok%]",
|
||||||
"warning": "[%key:component::paperless_ngx::entity::sensor::database_status::state::warning%]",
|
"warning": "[%key:component::paperless_ngx::entity::sensor::database_status::state::warning%]",
|
||||||
|
@ -242,7 +242,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Status celery',
|
'original_name': 'Status Celery',
|
||||||
'platform': 'paperless_ngx',
|
'platform': 'paperless_ngx',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'suggested_object_id': None,
|
'suggested_object_id': None,
|
||||||
@ -256,7 +256,7 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'enum',
|
'device_class': 'enum',
|
||||||
'friendly_name': 'Paperless-ngx Status celery',
|
'friendly_name': 'Paperless-ngx Status Celery',
|
||||||
'options': list([
|
'options': list([
|
||||||
'ok',
|
'ok',
|
||||||
'error',
|
'error',
|
||||||
@ -482,7 +482,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Status redis',
|
'original_name': 'Status Redis',
|
||||||
'platform': 'paperless_ngx',
|
'platform': 'paperless_ngx',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'suggested_object_id': None,
|
'suggested_object_id': None,
|
||||||
@ -496,7 +496,7 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'enum',
|
'device_class': 'enum',
|
||||||
'friendly_name': 'Paperless-ngx Status redis',
|
'friendly_name': 'Paperless-ngx Status Redis',
|
||||||
'options': list([
|
'options': list([
|
||||||
'ok',
|
'ok',
|
||||||
'error',
|
'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user