I’m using the iOS companion app to receive notifications from HA. I’d like a notification that tells me when the dryer is done, but I’d like the message to tell me how long the dryer ran. Something like “the dryer is done, it ran for 45:04.”
I have a sensor, sensor.dryer_on_time, that’s state shows how long the dryer ran. How can I include that state value in the notification message?
I want to get a notification on my phone that shows two states in a specific time format
This is my curent config:
service: notify.mobile_app_mike
data:
message: >-
Goedkoopste tarief is vandaag €{{
states('sensor.anwb_energie_lowest_energy_price_today') }} om deze tijd
{{ states('sensor.energyzero_today_energy_lowest_price_time') }}
title: Energie tarief
Please format that code properly — there could be error there that we can’t see. Looks like you have the right idea: what notification do you get from that code?
This is a slow conversation. Now you’ve changed your original question from “two states in one message” to “a specific date format” — completely off-topic —do you think it might be a good idea to tell us what date format you want?