mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[Huge] Util Refactor, Dashboard Improvements, Hass.io Auth API, Better Validation Errors, Conditions, Custom Platforms, Substitutions (#234)
* Implement custom sensor platform
* Update
* Ethernet
* Lint
* Fix
* Login page
* Rename cookie secret
* Update manifest
* Update cookie check logic
* Favicon
* Fix
* Favicon manifest
* Fix
* Fix
* Fix
* Use hostname
* Message
* Temporary commit for screenshot
* Automatic board selection
* Undo temporary commit
* Update esphomeyaml-edge
* In-dashboard editing and hosting files locally
* Update esphomeyaml-edge
* Better ANSI color escaping
* Message
* Lint
* Download Efficiency
* Fix gitlab
* Fix
* Rename extra_libraries to libraries
* Add example
* Update README.md
* Update README.md
* Update README.md
* HassIO -> Hass.io
* Updates
* Add update available notice
* Update
* Fix substitutions
* Better error message
* Re-do dashboard ANSI colors
* Only include FastLED if user says so
* Autoscroll logs
* Remove old checks
* Use safer RedirectText
* Improvements
* Fix
* Use enviornment variable
* Use http://hassio/host/info
* Fix conditions
* Update platformio versions
* Revert "Use enviornment variable"
This reverts commit 7f038eb5d2.
* Fix
* README update
* Temp
* Better invalid config messages
* Platformio debug
* Improve error messages
* Debug
* Remove debug
* Multi Conf
* Update
* Better paths
* Remove unused
* Fixes
* Lint
* lib_ignore
* Try fix platformio colors
* Fix dashboard scrolling
* Revert
* Lint
* Revert
			
			
This commit is contained in:
		| @@ -2,8 +2,6 @@ esphomeyaml: | ||||
|   name: test1 | ||||
|   platform: ESP32 | ||||
|   board: nodemcu-32s | ||||
|   # Use latest upstream esphomelib git version. | ||||
|   esphomelib_version: dev | ||||
|   # Use this for testing while developing: | ||||
|   # esphomelib_version: | ||||
|   #   local: ~/path/to/esphomelib | ||||
| @@ -180,7 +178,7 @@ sensor: | ||||
|       - lambda: return x * (9.0/5.0) + 32.0; | ||||
|     on_value: | ||||
|       then: | ||||
|         - lambda: >- | ||||
|         - lambda: |- | ||||
|             ESP_LOGD("main", "Got value %f", x); | ||||
|             id(my_sensor).publish_state(42.0); | ||||
|             ESP_LOGI("main", "Value of my sensor: %f", id(my_sensor).state); | ||||
|   | ||||
| @@ -1,15 +1,16 @@ | ||||
| esphomeyaml: | ||||
|   name: test2 | ||||
|   name: $devicename | ||||
|   platform: ESP32 | ||||
|   board: nodemcu-32s | ||||
|   # Use latest upstream esphomelib git version. | ||||
|   esphomelib_version: dev | ||||
|   # Use this for testing while developing: | ||||
|   # esphomelib_version: | ||||
|   #   local: ~/path/to/esphomelib | ||||
|   use_custom_code: true | ||||
|   build_path: build/test2 | ||||
|  | ||||
| substitutions: | ||||
|   devicename: test2 | ||||
|  | ||||
| wifi: | ||||
|   ssid: 'MySSID' | ||||
|   password: 'password1' | ||||
| @@ -150,7 +151,7 @@ text_sensor: | ||||
|     icon: mdi:icon | ||||
|     id: version_sensor | ||||
|     on_value: | ||||
|       - lambda: |- | ||||
|       - lambda: !lambda |- | ||||
|           ESP_LOGD("main", "The state is %s=%s", x.c_str(), id(version_sensor).state.c_str()); | ||||
|       - script.execute: my_script | ||||
|   - platform: mqtt_subscribe | ||||
|   | ||||
		Reference in New Issue
	
	Block a user