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

Template Binary Sensor getting config error

$
0
0

@Kfox wrote:

No matter how I arrange this, I keep getting an error.

binary_sensor:
  - platform: template
    sensor:
      Bathroom_Fan: 
        friendly_name: "2nd BATHROOM FAN motion"
        delay_off:
          minutes: 2
        value_template: "{{ is_state('sensor.ge_26931_smart_motion_switch_burglar_5', '8') }}"

Discover some devices automatically

discovery:

# Sensors
sensor:
  # Weather prediction
  - platform: yr
  - platform: random
  #- platform: template
  # Motion
  #- plateform:  state

I get more errors if I UNcomment -platform: template

Thx

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles