HomeAssistant PREdistribuce
1.0.0
เซ็นเซอร์นี้กำลังขูดข้อมูลจาก https://www.predistribuce.cz/cs/potrebuji-zaridit/zakaznici/stav-hdo/ ใส่คำสั่ง ID ของตัวรับสัญญาณ (ดูสัญญากับ Pre CZ หรือมิเตอร์พลังงานของคุณ) ใน configuration.yaml
เซ็นเซอร์นี้แสดงเสมอ
ทางเลือกด้วย
หมายเหตุ: คุณเป็นลูกค้าของ CEZ หรือไม่? ดูที่นี่: https://github.com/zigul/homeassistant-cezdistribuce
คัดลอกโฟลเดอร์นี้ไปที่ <config_dir>/custom_components/predistribuce/
เพิ่มสิ่งต่อไปนี้ในไฟล์ configuration.yaml ของคุณ:
# Example configuration.yaml entry for showing current HDO state and HTML for rendering a time schedule
binary_sensor :
platform : predistribuce
name : nocni proud
receiver_command_id : 605 # entry as above + extra binary sensors that show if a an applience (e.g. washing machine) can be run now to finish under low tariff
binary_sensor :
- platform : predistribuce
receiver_command_id : 605
periods :
- name : HDO Pračka
minutes : 30
- name : HDO Myčka
minutes : 150คุณสามารถแสดงภาพรวม Tarrif ที่ต่ำ/สูงได้ตลอดทั้งวัน

สิ่งที่จำเป็นต้องมีการติดตั้งการ์ด Lovelace HTML โดยเฉพาะจาก HACS เมื่อติดตั้งแล้วให้สร้างการ์ด Lovelace ใหม่ด้วยตนเอง วางเนื้อหาต่อไปนี้ภายใน:
type: 'custom:html-card'
title: PRE tarif
content: |
[[binary_sensor.hdo_aktualne.attributes.html_values]]
อย่าลืมแทนที่ hdo_aktualne ด้วยชื่อเอนทิตีของคุณ