From dbe4bbe9d5af4a8e928b96630e53b85a288a9546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aji=20=28=E9=98=BF=E5=90=89=29?= Date: Fri, 19 Jan 2024 23:33:46 +0800 Subject: [PATCH] Add Panel control for JciHitachi AC devices (#17) --- JciHitachi/model.py | 11 +++++++++++ README.md | 1 + 2 files changed, 12 insertions(+) diff --git a/JciHitachi/model.py b/JciHitachi/model.py index 4dfcd2e..f82ac91 100644 --- a/JciHitachi/model.py +++ b/JciHitachi/model.py @@ -1732,6 +1732,17 @@ def __init__(self, status, default=0): "is_numeric": True, "legacy_name": "min_temp", }, + "Panel": { + "controllable": True, + "is_numeric": False, + "legacy_name": None, + "id2str": { + 0: "bright", + 1: "dark", + 2: "off", + 3: "all_off", + }, + }, }, "DH": { "DeviceType": { diff --git a/README.md b/README.md index 17766e1..80da790 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ A Python library for controlling Jci-Hitachi devices. - Fast operation 快速運轉 - Power consumption 用電統計 - Monthly power consumption 月用電統計 + - Panel 顯示器亮度 - Hitachi Dehumidifier 日立除濕機 - Power 電源 - Mode 運轉模式