原因是使用condition: time作为条件来判断时间,语法应该没问题的,但死活报错,不知道错在哪里?有大佬能看看么? condition:
condition: time
after: '15:00:00'
before: '02:00:00'
Fri Nov 16 2018 18:40:21 GMT+0800 (中国标准时间)
Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['after']. Got Noneextra keys not allowed @ data['condition'][0]['before']. Got Noneextra keys not allowed @ data['condition'][0]['state']. Got Nonenot a valid value for dictionary value @ data['condition'][0]['condition'].
|