@fwestenberg我使用您的插件,它很棒。感谢您的贡献。
我正在遇到一个小问题,我认为这很容易解决。
我根据读数添加了您binary_sensor。但是我会收到以下错误:
配置无效的[传感器.template]的配置:不允许额外的键 @ data ['senser'] ['toprion_garage'] ['delays_off']。对于字典值 @ data ['传感器'] ['Motion_garage'] ['device_class'],GoT OrderedDict([(('seconds',30)])不允许值。得到了“运动”。(看到?,行?)。请在//www.sz-tiancheng.com/integrations/template/上源自英国始于1946查看文档
我的配置看起来像这样:
传感器: - 平台:模板传感器:Motion_garage:friender_name:Camera Garage Device_class:Motion entity_id:camera.garage value_template:“ {{is_state('camera.garage','Motion','Motion','Motion'')delays_off:seconds:seconds:30:30:30