Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import requests
import json
import sys
from datetime import datetime
import calendar
import pathlib
import time
import pickle
import html
@slidewarrior
slidewarrior / test-sensor-esp8266.yaml
Created December 20, 2024 11:27 — forked from letsautomatenet/test-sensor-esp8266.yaml
ESPHome Advanced Guide - test-sensor-esp8266
# Example from YouTube video: https://www.youtube.com/watch?v=XIY1xOzM3fs
# Push Button, Status LEDs, Analog Input (FSR Sensor), Air Quality Sensor, Distance Sensor
### START - Update this section with relevant details ###
substitutions:
device_name: "device-name-here"
friendly_name: Device Name Here
board_type: d1_mini
### START - Update this section with relevant details ###
substitutions:
device_name: "device-name-here"
friendly_name: Device Name Here
board_type: d1_mini
# ESPHome API used by Home Assistant, etc
# If you go to this page it generates one for you automatically!
### START - Update this section with relevant details ###
substitutions:
device_name: "device-name-here"
friendly_name: Device Name Here
board_type: esp32dev
framework: esp-idf # arduino or esp-idf (recommended for ESP32)
# ESPHome API used by Home Assistant, etc