I want to create an automation when a service is triggered.
and specifically notify.sms
at the moment I only use this sms service for MFA.
auth_mfa_modules:
- type: totp
name: "Authenticator app"
- type: notify
include:
- sms
name: "sms"
message: "De MFA code voor Home Assistant is: {}"
and what I would like to know is when the last sms was send.
the reason is that my sim is on a pre-paid subscription and will expire when inactive for over 6 months.
so when this is about to happen I want to trigger notify.sms using an automation.