diff --git a/mcu-basement-2.yaml b/mcu-basement-2.yaml index 95b56f4..f75dd0a 100644 --- a/mcu-basement-2.yaml +++ b/mcu-basement-2.yaml @@ -7,9 +7,9 @@ substitutions: esphome: name: mcu-${device} comment: ${comment} - platform: ESP8266 - board: esp01_1m +esp8266: + board: esp01_1m packages: common: !include common/common_esp8266.yaml diff --git a/mcu-basement.yaml b/mcu-basement.yaml index caf0ed7..85812f2 100644 --- a/mcu-basement.yaml +++ b/mcu-basement.yaml @@ -6,7 +6,8 @@ substitutions: esphome: name: mcu-${device} comment: ${comment} - platform: ESP8266 + +esp8266: board: esp01_1m packages: diff --git a/mcu-dev-temp.yaml b/mcu-dev-temp.yaml index 7feb79c..8d1eafa 100644 --- a/mcu-dev-temp.yaml +++ b/mcu-dev-temp.yaml @@ -9,9 +9,9 @@ esphome: esp32: board: esp32doit-devkit-v1 - # framework: + framework: # type: arduino - # # type: esp-idf + type: esp-idf external_components: - source: components @@ -25,12 +25,12 @@ switch: id: sensor_power restore_mode: ALWAYS_ON -dallas: - - pin: GPIO25 - update_interval: 10s +one_wire: + - platform: gpio + pin: GPIO25 sensor: - - platform: dallas - index: 0 + - platform: dallas_temp name: $name Dallas - id: temp \ No newline at end of file + id: temp + update_interval: 10 s \ No newline at end of file diff --git a/mcu-irrigation-1.yaml b/mcu-irrigation-1.yaml index 985bc2f..c00f03f 100644 --- a/mcu-irrigation-1.yaml +++ b/mcu-irrigation-1.yaml @@ -6,8 +6,6 @@ substitutions: esphome: name: mcu-${device} comment: ${comment} - platform: ESP8266 - board: esp01_1m # on_boot: # priority: -10 # then: @@ -21,6 +19,9 @@ esphome: # - delay: 2s # - switch.turn_off: relay_5 +esp8266: + board: esp01_1m + packages: common: !include common/common_esp8266.yaml