You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QuantityType<Time> does not work in rules DSL, an expression like (myItem.state as QuantityType<Time>).toUnit("s") results in Configuration model 'Test.rules' has errors, therefore ignoring it: [94,75]: no viable alternative at input 'Time'
(myItem is defined and can be properly used as Number:Time)
Strange: If I use DateTime instead of Time it's actually working. The LSP server is (properly) complaining that it cannot resolve DateTime, though.
The text was updated successfully, but these errors were encountered:
QuantityType<Time>
does not work in rules DSL, an expression like(myItem.state as QuantityType<Time>).toUnit("s")
results inConfiguration model 'Test.rules' has errors, therefore ignoring it: [94,75]: no viable alternative at input 'Time'
(myItem is defined and can be properly used as
Number:Time
)Strange: If I use
DateTime
instead ofTime
it's actually working. The LSP server is (properly) complaining that it cannot resolve DateTime, though.The text was updated successfully, but these errors were encountered: