-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send a notification with biomass boiler status #87
Comments
Same here, would be interested too... |
Have you tried this in Home Assistant? (see screenshot) The Screenshot is in German but if you add an new automation it should look the same... eg ... If the status X changes.. then send an message to iphone... I have not tested this myself... I will try this later this week... but thats how i usually do automations... |
@tinerop the problem is not the message working itself, but the message content. What we try to achieve is, that the status like "Bereitschaft", "Zündphase" etc. is displayed within the message. What we get at the moment is "boiler has changed to status 2" but the result should look like "boiler has changed to Pelletsbetrieb" |
The reason being, that the state in the backend is a numerical value, and is translated by the frontend to the respective text. Therefore, the text is unfortunately unavailable in templates or messages, as they are handled by the backend and not the frontend. This is a general "issue" of home assistant. You would need to provide a mapping yourself (doubling the translation mapping of the frontend). As done here: https://community.home-assistant.io/t/how-can-i-get-the-translation-of-a-sensor-state/620106/8 |
If the screenshot is from your Lovelace dashboard, and not showing a template sensor, yes there should be text. |
Ok, I think I've got something for you:
|
Thanks for your effort! Do you want to make it part of the readme? Or do you want me to do it? Making it easier for others to find it. |
No problem, please feel free to make this part of the readme. Maybe you could generalize some specific parts which belong to my configuration ;-) |
I just read, that with 2024.03 this is fixed cf https://rc.home-assistant.io/blog/2024/02/28/release-20243/
|
Hi,
I would like to create an automation that send a notification when the biomass bolier state changes.
Unfortunately, when I configure the notification message, I can have only the numeric status information, not the translation.
In the message I've used:
{{ states('sensor.solarfocus_biomass_boiler_status') }} but I can get only a number.
Could you help me to find a solution?
Thanks
The text was updated successfully, but these errors were encountered: