Input_boolean problem with 'initial'

Hi,

HA seems to be broken as regards input_boolean inital value as you can no longer set it -

ERROR (Thread-1) [homeassistant.bootstrap] Invalid config for [input_boolean]: [inital] is an invalid option for [input_boolean]. Check: input_boolean->input_boolean->send_notification->inital. Please check the docs at https://home-assistant.io/components/input_boolean/e[0m

Failed config

  input_boolean:
    alarmstatus: [source C:\Users\MyPc\AppData\Roaming\.homeassistant\input_boolean.yaml:79]
      icon: mdi:alarm-check
      initial: True
      name: Wake Me Up
    alarmweekday: [source C:\Users\MyPc\AppData\Roaming\.homeassistant\input_boolean.yaml:83]
      icon: mdi:calendar
      initial: True
      name: Weekdays Only 

From the docs -

# Example configuration.yaml entry
input_boolean:
  notify_home:
    name: Notify when someone arrives home
    initial: off
    icon: mdi:car

Configuration variables:

[alias] (Required): Alias for the input.
name (Optional): Friendly name of the input.
initial (Optional): Initial value when Home Assistant starts.
icon (Optional): Icon for entry.

How do I set the initial value when HA starts?

There seems to be a typo in the configuration.

Did you try initial: on instead of True?

@PtP that is not the problem. As fabaff said, initial is misspelled in the config.

You are correct I guess I was thinking about the state of the input_boolean. If initial is True then the initial state is on and vice versa.

Thanks for setting me straight!

ok, thanks guys that sorted the problem out :slight_smile: