zigul / HomeAssistant-CEZdistribuce

CEZ Distribuce - Home Assistant Sensor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CEZ Distribuce - Home Assistant Sensor

hacs_badge

This sensor is downloading data from https://www.cezdistribuce.cz/cs/pro-zakazniky/spinani-hdo.html. The integration needs the region and the code. One can get this information from the contract with CEZ CZ or https://www.cezdistribuce.cz/cs/pro-zakazniky/spinani-hdo.html. The region and the code have to be defined in configuration.yaml

This sensor shows

  • current state of HDO

Installation

Step 1: Download files

Option 1: Via HACS

Make sure you have HACS installed. If you don't, run curl -sfSL https://hacs.xyz/install | bash - in HA. Then choose Components under HACS. Choose the menu in the upper right, and select Custom repositories. Then add this repo's URL. You should be able to choose to Install now.

Option 2: Manual

Clone this repository or download the source code as a zip file and add/merge the custom_components/ folder with its contents in your configuration directory.

Step 2: Configure

Add the following to your configuration.yaml file:

# Example configuration.yaml entry for showing current HDO state
binary_sensor:
  - platform: cezdistribuce
    name: nizky tarif
    region: stred
    code: A1B5DP6

set your region and code

supported regions:

  • zapad
  • sever
  • stred
  • vychod
  • morava

Step 3: Restart HA

For the newly added integration to be loaded, HA needs to be restarted.

References

About

CEZ Distribuce - Home Assistant Sensor

License:Apache License 2.0


Languages

Language:Python 100.0%