* nmbs: Add canceled attribute
If a train is canceled, change the state to canceled and also add an attribute that can be matched.
Personnaly I look for the attribute and add a "line-through" CSS style to show my train was canceled.
I discovered this was not displayed the hard way :)
Signed-off-by: Tom Barbette <t.barbette@gmail.com>
* Update homeassistant/components/nmbs/sensor.py
canceled must be compared as an int, as suggested by @MartinHjelmare
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>