HomeAssistant PREdistribuce
1.0.0
該傳感器是從https://www.predistribuce.cz/cs/potrebuji-zaridit/zakaznici/stav-hdo/刮除數據。將接收器命令的ID放在配置中(請參閱與Pre Cz或您的能量計的合同)。
這個傳感器總是顯示
也可選
注意:您是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 。