parse more hints

This commit is contained in:
Jannis R 2018-06-11 21:37:13 +02:00
parent 871db25bc9
commit 1299d7f04f
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -70,6 +70,16 @@ const hints = Object.assign(Object.create(null), {
type: 'hint',
code: 'air-conditioned',
text: 'air-conditioned vehicle'
},
r0: {
type: 'hint',
code: 'upward-escalator',
text: 'upward escalator'
},
au: {
type: 'hint',
code: 'elevator',
text: 'elevator available'
}
})
@ -121,7 +131,7 @@ const parseHint = (profile, h) => {
if (h.type === 'U') {
return {
type: 'status',
code: null, // todo
code: h.code || null,
text
}
}