mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Add StatsD component (#6642)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
29
tests/components/statsD/common.yaml
Normal file
29
tests/components/statsD/common.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
statsd:
|
||||
host: "192.168.1.1"
|
||||
port: 8125
|
||||
prefix: esphome
|
||||
update_interval: 60s
|
||||
sensors:
|
||||
id: s
|
||||
name: sensors
|
||||
binary_sensors:
|
||||
id: bs
|
||||
name: binary_sensors
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
id: s
|
||||
name: "42.1"
|
||||
lambda: |-
|
||||
return 42.1f;
|
||||
|
||||
binary_sensor:
|
||||
- platform: template
|
||||
id: bs
|
||||
name: "On"
|
||||
lambda: |-
|
||||
return true;
|
2
tests/components/statsD/test.bk72xx-ard.yaml
Normal file
2
tests/components/statsD/test.bk72xx-ard.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
2
tests/components/statsD/test.esp32-ard.yaml
Normal file
2
tests/components/statsD/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
2
tests/components/statsD/test.esp32-c3-ard.yaml
Normal file
2
tests/components/statsD/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
2
tests/components/statsD/test.esp32-c3-idf.yaml
Normal file
2
tests/components/statsD/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
2
tests/components/statsD/test.esp32-idf.yaml
Normal file
2
tests/components/statsD/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
2
tests/components/statsD/test.esp8266-ard.yaml
Normal file
2
tests/components/statsD/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
2
tests/components/statsD/test.rp2040-ard.yaml
Normal file
2
tests/components/statsD/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
packages:
|
||||
common: !include common.yaml
|
Reference in New Issue
Block a user