Archived
Comment out custom BLE meter configuration
Commented out the custom BLE meter configuration in config.yaml.
This commit is contained in:
1 parent
5453d630e1
commit
65adb24684
1 file changed
+17
-17
+17
-17
@@ -121,20 +121,20 @@ devices:
|
|||||||
# ──────────────────────────────────────────────────────────────
|
# ──────────────────────────────────────────────────────────────
|
||||||
# Path B: GATT Notify & Write (Bi-directional Control)
|
# Path B: GATT Notify & Write (Bi-directional Control)
|
||||||
# ──────────────────────────────────────────────────────────────
|
# ──────────────────────────────────────────────────────────────
|
||||||
- id: custom_meter
|
#- id: custom_meter
|
||||||
name: "Custom BLE Meter"
|
# name: "Custom BLE Meter"
|
||||||
source: gatt_notify
|
# source: gatt_notify
|
||||||
gatt:
|
# gatt:
|
||||||
service_uuid: "ffe0"
|
# service_uuid: "ffe0"
|
||||||
notify_char_uuid: "ffe1"
|
# notify_char_uuid: "ffe1"
|
||||||
write_char_uuid: "ffe2"
|
# write_char_uuid: "ffe2"
|
||||||
sensors:
|
# sensors:
|
||||||
- key: power
|
# - key: power
|
||||||
unit: "W"
|
# unit: "W"
|
||||||
device_class: power
|
# device_class: power
|
||||||
state_class: measurement
|
# state_class: measurement
|
||||||
decode: { offset: 0, length: 2, type: uint16, endian: little }
|
# decode: { offset: 0, length: 2, type: uint16, endian: little }
|
||||||
controls:
|
# controls:
|
||||||
- key: relay
|
# - key: relay
|
||||||
type: switch
|
# type: switch
|
||||||
command: { on: "A10100", off: "A10000" }
|
# command: { on: "A10100", off: "A10000" }
|
||||||
Reference in new issue
Block a user