Official component rely on xml api, which is not reliable in some regions. This custom component parse meteoalarm page - HTML. It creates a sensor with is a number of alerts for current and next day. In sensor attributes of there are arrays with info for each alert.
sensor:
- platform: meteoalarm_m
id: 'BG018-Sofia'
name: alert
scan_interval: 3600
automation:
- alias: weather_alert
trigger:
- platform: state
entity_id: sensor.alert
condition:
- condition: template
value_template: '{{trigger.from_state.state != trigger.to_state.state}}'
action:
- service: script.all_notify
data_template:
tit: 'weather'
msg: >-
{%- if not is_state('sensor.alert', '0') -%}
{%- for s in ['today', 'tomorrow'] -%}
{%- set v = state_attr('sensor.w_alert', s) -%}
{%- if v -%}
{% for d in v -%}
{{s}} - {{d['code']}} {{d['event']}} {{d['end']}}
{% endfor -%}
{%- endif -%}
{% endfor -%}
{% else %}
alert expired
{% endif %}
cards:
- type: conditional
conditions:
- entity: sensor.w_alert
state_not: '0'
card:
type: markdown
content: >-
{%- if not is_state('sensor.w_alert', '0') -%}
{%- for s in ['today', 'tomorrow'] -%}
{%- set v = state_attr('sensor.w_alert', s) -%}
{%- if v -%}
{%- for d in v %}
### {{s}}: **{{d['event']}}**
**Severity:** {{d['code']}}
**Description:** {{d['txt']}}
**Time:** {{d['start']}} - {{d['end']}}
{%- endfor -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}