* Initial commit of De Lijn (Flemish Public Transport) component * Code corrections as per HA dev's requests * changes to variable naming, setting attribution and states, plus some smaller optimizations * Overlooked some linting issues, these are now fixed * Updated pydelijn version requirement to 0.5.1 so UTC timestamps can be used instead of relative/local times. Removed unused definition * Updated pydelijn version requirement to 0.5.1 in requirements_all.txt * Update the self._attributes dict directly instead of replacing it Assign ATTRIBUTION while creating the _attributes dict Remove the ATTRIBUTION assignment in device_state_attributes as it's updated in the async_update now. * Linting issue (lenght of 2 lines) solved * Removed a relative time attribute Updated a linting issue in the LOGGER (used % instead of the format)
1 line
28 B
Python
1 line
28 B
Python
"""The delijn component."""
|