generated from esphome/esphome-project-template
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathminimal.yaml
51 lines (38 loc) · 1.21 KB
/
minimal.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# These substitutions allow the end user to override certain values
substitutions:
# Device Names
name: "localbytes-plug-pm"
friendly_name: "Localbytes Plug PM"
main_icon: "power-socket-uk"
# Default Relay State
# Aka: `restore_mode` in documentation
# Options: `RESTORE_DEFAULT_OFF`, `RESTORE_DEFAULT_ON`, `ALWAYS_ON` & `ALWAYS_OFF`
default_state: "RESTORE_DEFAULT_OFF"
# Default state of the "disable led" virtual switch
disable_led_default_state: "RESTORE_DEFAULT_OFF"
# Default state of the "disable button"/child-lock virtual switch
disable_button_default_state: "RESTORE_DEFAULT_OFF"
esphome:
name: "${name}"
friendly_name: "${friendly_name}"
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: true
project:
name: jamesswift.localbytes-plug-pm
version: "1.8.0"
esp8266:
board: esp01_1m
restore_from_flash: true
early_pin_init: false
logger:
ota:
platform: esphome
api:
# This should point to the public location of this yaml file.
dashboard_import:
package_import_url: github://JamesSwift/localbytes-plug-pm/localbytes-plug-pm.yaml@main
wifi:
ap:
ssid: "${friendly_name}"
captive_portal: