This custom integration retrieves data from Dom 5 - housing cooperative management system.
Using HACS (recommended)
This integration can be added to HACS as a custom repository:
- URL:
https://github.com/PiotrMachowski/Home-Assistant-custom-components-Dom-5
- Category:
Integration
After adding a custom repository you can use HACS to install this integration using user interface.
To install this integration manually you have to download dom_5.zip and extract its contents to config/custom_components/dom_5
directory:
mkdir -p custom_components/dom_5
cd custom_components/dom_5
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-Dom-5/releases/latest/download/dom_5.zip
unzip dom_5.zip
rm dom_5.zip
To configure this integration go to: Configuration -> Integrations -> Add integration -> Dom 5.
You can also use following My Home Assistant link
Key | Type | Required | Value | Description |
---|---|---|---|---|
platform |
string | true | dom_5 |
Name of a platform |
name |
string | false | Desired name of a entity | |
url |
string | true | URL of system (in format: https://dom5.pl |
|
username |
string | true | Username in Dom 5 system | |
password |
string | true | Password in Dom 5 system |
sensor:
- platform: dom_5
url: "https://dom5.pl"
username: "123456"
password: "SecretPassword"
You can display data from this integration using Markdown card:
type: markdown
content: |-
{%- set username="123456" -%}
# Latest announcement
## {{ state_attr('sensor.dom_5_last_announcement_' + username, 'title') }}
{{ state_attr('sensor.dom_5_last_announcement_' + username, 'body') }}
---
# Latest message
## {{ state_attr('sensor.dom_5_last_message_' + username, 'title') }}
{{ state_attr('sensor.dom_5_last_message_' + username, 'body') }}
---
# Finances
**Balance:** {{ "%.2f zł" | format(states('sensor.dom_5_finances_' + username) | float) }}
**Arrear:** {{ "%.2f zł" | format(state_attr('sensor.dom_5_finances_' + username, 'arrear') | float) }}
**Overpayment:** {{ "%.2f zł" | format(state_attr('sensor.dom_5_finances_' + username, 'overpayment') | float) }}
If you want to support my work with a donation you can use one of the following platforms:
Platform | Payment methods | Link | Comment |
---|---|---|---|
Ko-fi |
|
|
|
buycoffee.to |
|
||
PayPal |
|
|
|
Revolut |
|
|