Hello
I have the following command line sensor:
- platform: command_line
name: flydata
command: "python3 /config/flysjekk.py {{ states('sensor.openskyflights') }}"
scan_interval: 5
The sensor return the following string:
(‘Norwegian Air Shuttle 769’, ‘Boeing 737-800 (twin-jet)’, ‘Stjordal, Norway’, ‘Oslo, Norway’, ‘arrived’, ‘October 21 2020 15:44:00’, ‘October 21 2020 16:21:00’)
As you understand the string contains flightnumber, aircraft type, origin, destination, status, departure time and estimated arrival time.
For now the entire string shows in an entitycard in lovelace. I want a card to show something like this:
Flightnbr: Norwegian Air Shuttle 769
Aircraft type: Boeing 737-800 (twin-jet)
.
.
.
Estimated arrival time: October 21 2020 16:21:00
Any suggestions to how I can accomplish this for instance in a multiline entity card?