mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
ed801f7a27
* Add cpu_temperature component * Add tests * Fix formatting * Possible fix for "sensor not shown in HomeAssistant" * Rename component to internal_temperature * Update esphome/components/internal_temperature/internal_temperature.cpp Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Update esphome/components/internal_temperature/internal_temperature.cpp Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Update esphome/components/internal_temperature/internal_temperature.cpp Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Update internal_temperature.h * Remove unique_id * Update ESP32 variant detection --------- Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
43 lines
650 B
YAML
43 lines
650 B
YAML
---
|
|
esphome:
|
|
name: test6
|
|
project:
|
|
name: esphome.test6_project
|
|
version: "1.0.0"
|
|
|
|
rp2040:
|
|
board: rpipicow
|
|
framework:
|
|
# Waiting for https://github.com/platformio/platform-raspberrypi/pull/36
|
|
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
|
|
|
|
wifi:
|
|
networks:
|
|
- ssid: "MySSID"
|
|
password: "password1"
|
|
|
|
api:
|
|
|
|
ota:
|
|
|
|
logger:
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
pin: GPIO5
|
|
id: pin_5_button
|
|
|
|
output:
|
|
- platform: gpio
|
|
pin: GPIO4
|
|
id: pin_4
|
|
|
|
switch:
|
|
- platform: output
|
|
output: pin_4
|
|
id: pin_4_switch
|
|
|
|
sensor:
|
|
- platform: internal_temperature
|
|
name: "Internal Temperature"
|