core/homeassistant/components/swiss_public_transport
Cyrill Raccaud e136847b89
Add more timestamp sensors to swiss_public_transport (#107916)
* add more timestamp sensors

* more generic definition for future sensors

* add entity descriptor

* use enable property to prevent sensors from getting added

* set legacy attribute flag for first sensor

* remove departure from extra attributes

* remove breaking changes again and keep for next pr

* fix multiline statements

* outsource the multiline ifs into function

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-26 10:17:25 +01:00
..
__init__.py
config_flow.py
const.py Add more timestamp sensors to swiss_public_transport (#107916) 2024-03-26 10:17:25 +01:00
coordinator.py Add more timestamp sensors to swiss_public_transport (#107916) 2024-03-26 10:17:25 +01:00
icons.json
manifest.json
sensor.py Add more timestamp sensors to swiss_public_transport (#107916) 2024-03-26 10:17:25 +01:00
strings.json Add more timestamp sensors to swiss_public_transport (#107916) 2024-03-26 10:17:25 +01:00