Hi all, unfortunately since V4 of spaceX API launch this is not working anymore the main issue is that instead of the launchpad name you now get a numeric code and I don’t know how to make a rest sensor with a post method that could get the full name from the numeric code
spacex_next_launchpad:
value_template: >
{% if states('sensor.spacex_launchpad_id') == '5e9e4501f5090910d4566f83' %}
Vandenberg Air Force Base Space Launch Complex 3W
{% elif states('sensor.spacex_launchpad_id') == '5e9e4501f509094ba4566f84'%}
Cape Canaveral Air Force Station Space Launch Complex 40
{% elif states('sensor.spacex_launchpad_id') == '5e9e4502f5090927f8566f85'%}
SpaceX South Texas Launch Site
{% elif states('sensor.spacex_launchpad_id') == '5e9e4502f5090995de566f86'%}
Kwajalein Atoll Omelek Island
{% elif states('sensor.spacex_launchpad_id') == '5e9e4502f509092b78566f87'%}
Vandenberg Air Force Base Space Launch Complex 4E
{% elif states('sensor.spacex_launchpad_id') == '5e9e4502f509094188566f88'%}
Kennedy Space Center Historic Launch Complex 39A
{% endif %}
friendly_name: Launchpad