Introduce more sensors to Nextcloud (#99155)

This commit is contained in:
Michael
2023-08-27 20:50:27 +02:00
committed by GitHub
parent 0ce9d21bea
commit 1bd37612af
3 changed files with 538 additions and 97 deletions
@@ -17,6 +17,18 @@ from .coordinator import NextcloudDataUpdateCoordinator
from .entity import NextcloudEntity
BINARY_SENSORS: Final[list[BinarySensorEntityDescription]] = [
BinarySensorEntityDescription(
key="jit_enabled",
translation_key="nextcloud_jit_enabled",
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
),
BinarySensorEntityDescription(
key="jit_on",
translation_key="nextcloud_jit_on",
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
),
BinarySensorEntityDescription(
key="system_debug",
translation_key="nextcloud_system_debug",