Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Template error: [delay_off] is an invalid option for [sensor.template]

$
0
0

@Tagazok wrote:

Hi, I am trying to create a sensor template but when it loads, I have an error.
Here is my template:

- platform: template
  sensors:
    motion_delay_corridor:
      friendly_name: "Corridor Lighting motion delay"
      delay_off:
        seconds: 15
      value_template: >-
        {{ is_state('binary_sensor.presence_2', 'on) }}

And here is the error I get:

Invalid config for [sensor.template]: [delay_off] is an invalid option for [sensor.template]. Check: sensor.template->sensors->motion_delay_corridor->delay_off. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/template/

I even tried to copy/paste the template from the integration page and get the same error :confused: I tried to write the whole think by hand in case it was a special character when I copy/paste but nothing works.

I am using Hass.io 193 with HassOS 3.7

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>