HomeAssistant PREdistribuce
1.0.0
يقوم هذا المستشعر بإلغاء البيانات من https://www.predistribuce.cz/cs/potrebuji- zaridit/zakaznici/stav-hdo/. ضع معرف أمر المتلقي (انظر العقد مع Pre CZ أو مقياس الطاقة الخاص بك) في التكوين. 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 باسم الكيان الخاص بك.