mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 19:06:37 +00:00
Merge branch 'light_effects' into integration
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fan:
|
||||
- platform: template
|
||||
id: test_fan
|
||||
name: "Test Fan"
|
||||
preset_modes:
|
||||
- Eco
|
||||
- Sleep
|
||||
- Turbo
|
||||
has_oscillating: true
|
||||
has_direction: true
|
||||
speed_count: 3
|
||||
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
@@ -571,9 +571,11 @@ class TestEsphomeCore:
|
||||
assert target.address == "4.3.2.1"
|
||||
|
||||
def test_address__openthread(self, target):
|
||||
target.name = "test-device"
|
||||
target.config = {}
|
||||
target.config[const.CONF_OPENTHREAD] = {}
|
||||
target.config[const.CONF_OPENTHREAD] = {
|
||||
const.CONF_USE_ADDRESS: "test-device.local"
|
||||
}
|
||||
target.name = "test-device"
|
||||
|
||||
assert target.address == "test-device.local"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user