1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[CI] Consolidate some tests (N, O, P) (#8204)

This commit is contained in:
Keith Burzinski
2025-02-04 20:37:15 -06:00
committed by GitHub
parent 4d8f58db94
commit cecce0f3cb
171 changed files with 1479 additions and 4560 deletions

View File

@@ -0,0 +1,37 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
spi:
- id: spi_pn7160
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
miso_pin: ${miso_pin}
pn7160_spi:
id: nfcc_pn7160
cs_pin: ${cs_pin}
irq_pin: ${irq_pin}
ven_pin: ${ven_pin}
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"

View File

@@ -1,37 +1,9 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
substitutions:
clk_pin: GPIO16
mosi_pin: GPIO17
miso_pin: GPIO18
cs_pin: GPIO12
irq_pin: GPIO13
ven_pin: GPIO14
spi:
- id: spi_pn7160
clk_pin: 16
mosi_pin: 17
miso_pin: 15
pn7160_spi:
id: nfcc_pn7160
cs_pin: 12
irq_pin: 14
ven_pin: 13
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"
<<: !include common.yaml

View File

@@ -1,37 +1,9 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
substitutions:
clk_pin: GPIO6
mosi_pin: GPIO7
miso_pin: GPIO5
cs_pin: GPIO8
irq_pin: GPIO9
ven_pin: GPIO10
spi:
- id: spi_pn7160
clk_pin: 6
mosi_pin: 7
miso_pin: 5
pn7160_spi:
id: nfcc_pn7160
cs_pin: 4
irq_pin: 2
ven_pin: 3
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"
<<: !include common.yaml

View File

@@ -1,37 +1,9 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
substitutions:
clk_pin: GPIO6
mosi_pin: GPIO7
miso_pin: GPIO5
cs_pin: GPIO8
irq_pin: GPIO9
ven_pin: GPIO10
spi:
- id: spi_pn7160
clk_pin: 6
mosi_pin: 7
miso_pin: 5
pn7160_spi:
id: nfcc_pn7160
cs_pin: 4
irq_pin: 2
ven_pin: 3
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"
<<: !include common.yaml

View File

@@ -1,37 +1,9 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
substitutions:
clk_pin: GPIO16
mosi_pin: GPIO17
miso_pin: GPIO18
cs_pin: GPIO12
irq_pin: GPIO13
ven_pin: GPIO14
spi:
- id: spi_pn7160
clk_pin: 16
mosi_pin: 17
miso_pin: 15
pn7160_spi:
id: nfcc_pn7160
cs_pin: 12
irq_pin: 14
ven_pin: 13
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"
<<: !include common.yaml

View File

@@ -1,37 +1,9 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
substitutions:
clk_pin: GPIO14
mosi_pin: GPIO13
miso_pin: GPIO12
cs_pin: GPIO5
irq_pin: GPIO15
ven_pin: GPIO16
spi:
- id: spi_pn7160
clk_pin: 14
mosi_pin: 13
miso_pin: 12
pn7160_spi:
id: nfcc_pn7160
cs_pin: 15
irq_pin: 4
ven_pin: 5
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"
<<: !include common.yaml

View File

@@ -1,37 +1,9 @@
esphome:
on_boot:
then:
- tag.set_clean_mode: nfcc_pn7160
- tag.set_format_mode: nfcc_pn7160
- tag.set_read_mode: nfcc_pn7160
- tag.set_write_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.set_write_mode: nfcc_pn7160
- tag.set_emulation_message:
message: https://www.home-assistant.io/tag/pulse
include_android_app_record: false
- tag.emulation_off: nfcc_pn7160
- tag.emulation_on: nfcc_pn7160
- tag.polling_off: nfcc_pn7160
- tag.polling_on: nfcc_pn7160
substitutions:
clk_pin: GPIO2
mosi_pin: GPIO3
miso_pin: GPIO4
cs_pin: GPIO5
irq_pin: GPIO15
ven_pin: GPIO16
spi:
- id: spi_pn7160
clk_pin: 2
mosi_pin: 3
miso_pin: 4
pn7160_spi:
id: nfcc_pn7160
cs_pin: 6
irq_pin: 7
ven_pin: 5
emulation_message: https://www.home-assistant.io/tag/pulse_ce
tag_ttl: 1000ms
on_tag:
- logger.log: "Tag"
on_tag_removed:
- logger.log: "Tag removed"
on_emulated_tag_scan:
- logger.log: "Tag emulated"
<<: !include common.yaml