mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Merge branch 'dev' into separate-ota-backend
This commit is contained in:
@@ -1 +1,3 @@
|
||||
datetime:
|
||||
|
||||
time:
|
||||
|
||||
@@ -183,3 +183,25 @@ datetime:
|
||||
- x.hour
|
||||
- x.minute
|
||||
- x.second
|
||||
- platform: template
|
||||
name: DateTime
|
||||
id: test_datetime
|
||||
type: datetime
|
||||
set_action:
|
||||
- logger.log: "set_value"
|
||||
on_value:
|
||||
- logger.log:
|
||||
format: "DateTime: %04d-%02d-%02d %02d:%02d:%02d"
|
||||
args:
|
||||
- x.year
|
||||
- x.month
|
||||
- x.day_of_month
|
||||
- x.hour
|
||||
- x.minute
|
||||
- x.second
|
||||
|
||||
time:
|
||||
- platform: sntp # Required for datetime
|
||||
|
||||
wifi: # Required for sntp time
|
||||
ap:
|
||||
2
tests/components/template/test.bk72xx.yaml
Normal file
2
tests/components/template/test.bk72xx.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.esp32-c3-idf.yaml
Normal file
2
tests/components/template/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.esp32-c3.yaml
Normal file
2
tests/components/template/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.esp32-idf.yaml
Normal file
2
tests/components/template/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.esp32-s3-idf.yaml
Normal file
2
tests/components/template/test.esp32-s3-idf.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.esp32.yaml
Normal file
2
tests/components/template/test.esp32.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.esp8266.yaml
Normal file
2
tests/components/template/test.esp8266.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
2
tests/components/template/test.rp2040.yaml
Normal file
2
tests/components/template/test.rp2040.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
||||
@@ -83,6 +83,24 @@ display:
|
||||
full_update_every: 30
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: waveshare_epaper
|
||||
model: 2.90in-dke
|
||||
spi_id: spi_id_1
|
||||
cs_pin:
|
||||
allow_other_uses: true
|
||||
number: GPIO25
|
||||
dc_pin:
|
||||
allow_other_uses: true
|
||||
number: GPIO26
|
||||
busy_pin:
|
||||
allow_other_uses: true
|
||||
number: GPIO27
|
||||
reset_pin:
|
||||
allow_other_uses: true
|
||||
number: GPIO32
|
||||
full_update_every: 1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: waveshare_epaper
|
||||
model: 2.70in-b
|
||||
spi_id: spi_id_1
|
||||
|
||||
Reference in New Issue
Block a user