esphome / esphome-core

🚨 No longer used 🚨 - The C++ framework behind ESPHome
https://esphome.io/
GNU General Public License v3.0
547 stars 115 forks source link

WiFi SSID cannot have apostrophe otherwise, build will fail. #283

Closed unfaix closed 6 years ago

unfaix commented 6 years ago

Operating environment/Installation (Hass.io/Docker/pip/etc.):

ESP (ESP32/ESP8266/Board/Sonoff):

Affected component:

Description of problem: Wizard will fail to compile if there are apostrophe in the wifi ssid name. How to fix ?

Problem-relevant YAML-configuration entries:


Failed to compile YAML esphomeyaml: name: masterbed platform: ESP8266 board: nodemcuv2

wifi: ssid: 'Max and Buddy's Friends Only' password: 'password'

Success to compile YAML esphomeyaml: name: masterbed platform: ESP8266 board: nodemcuv2

wifi: ssid: 'Max and Buddys Friends Only' password: 'password -----'

Traceback (if applicable):

INFO Reading configuration... ERROR Error while reading config: while parsing a block mapping in "/config/esphomeyaml/masterbed.yaml", line 7, column 3 expected , but found '' in "/config/esphomeyaml/masterbed.yaml", line 7, column 24 Additional information:

unfaix commented 6 years ago

got it now, forgive me