If you use EHMTX with home assistant you can show notification with esphome service calls. Some situations are easier when you use notfiy call. This component translates notifier calls to the corresponding esphome calls. For full functionality you should still use esphome calls.
You can either use HACS or install the component manually:
- Put the files from
/custom_components/ehmtx/
in your folder<config directory>/custom_components/ehmtx/
If you wish to add to the provided application images (such as Netflix) place '.png' images with names the same as the application in the following folder:
<config directory>/custom_components/ehmtx/static/
For channels where there is no EPG, this can also be utilised to provide a channel image. Place an image file in the same directory with the same name as your channel source name (e.g. raiuno.png).
Add a ehmtx platform entry in your configuration.yaml as below.
Example of basic configuration.yaml
notify:
- platform: ehmtx
name: myehmtx32
device: ehmtx32
icon: error
YAML | UI | Default | Details |
---|---|---|---|
platform (string)(Required) |
n/a | Must be set to ehmtx | |
device (string)(Required) |
n/a | The name of your esphome device, e.g. ehmtx8266 | |
name (string)(Required) |
n/a | The name you would like to give to the ehmtx the notifier | |
icon (string)(Required) |
n/a | error | a standard icon for situations where no icon is specified in service call |
service: notify.myehmtx32
data:
message: Show this text
data:
icon: alien
YAML | Default | Details |
---|---|---|
platform (string)(Required) |
Must be set to ehmtx | |
device (string)(Required) |
The name of your esphome device, e.g. ehmtx32 | |
name (string)(Required) |
The name you would like to give to the ehmtx the notifier e.g. myehmtx32 | |
icon (string)(Required) |
error | the icon for this screen |