Directlease is blocking IP numbers that use the server otherwise then visiting the website. I did a test to manage outgoing traffic from HA over a VPN and now it working again. When switch back my original IP is back and in logs I see that im blocked.
Here still I’m.blocked by directlease. Even the mobile app doesn’t work on wifi. On mobile data it’s working. The Dutch gas prices integration also have same issues and now looking for a possible way to get the data
Here is how to send a Text to speech notification to your phone that tells you the lowest price of the fuel in your area:
service: notify.mobile_app_sm_g991b
data:
message: TTS
title: ""
data:
channel: alarm_stream_max
tts_text: |-
{% set name = ((states.device_tracker
| selectattr('entity_id', 'in', integration_entities('fuel_prices'))
| sort(attribute='attributes.B7', reverse=false)
| map(attribute='attributes.brand')
| list)[0])
%}
{% set price = ((states.device_tracker
| selectattr('entity_id', 'in', integration_entities('fuel_prices'))
| sort(attribute='attributes.B7', reverse=false)
| map(attribute='attributes.B7')
| list)[0])
%}
"Diesel is cheapest at {{ name }} today, the price is {{price}} Pence per litre"
priority: high
ttl: 0
Simply change the wording to your fuel type, currency and unit of measurement and change the B7 to the name of the fuel type you get in your area
I have priority set to high on the notification so it plays over do not disturb which automatically turns on when i am driving. You can of course change this if you prefer.
I have just set up this automation to play when homeassistant detects that i am on my way home. So when i am on my way back from work it will notify me so i can swing by the cheapest one around where i live