mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
7c7032c59e
* 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
36 lines
1.5 KiB
Python
36 lines
1.5 KiB
Python
from esphomeyaml.cpp_generator import MockObj
|
|
|
|
global_ns = MockObj('', '')
|
|
float_ = global_ns.namespace('float')
|
|
bool_ = global_ns.namespace('bool')
|
|
std_ns = global_ns.namespace('std')
|
|
std_string = std_ns.class_('string')
|
|
std_vector = std_ns.class_('vector')
|
|
uint8 = global_ns.namespace('uint8_t')
|
|
uint16 = global_ns.namespace('uint16_t')
|
|
uint32 = global_ns.namespace('uint32_t')
|
|
int32 = global_ns.namespace('int32_t')
|
|
const_char_ptr = global_ns.namespace('const char *')
|
|
NAN = global_ns.namespace('NAN')
|
|
esphomelib_ns = global_ns # using namespace esphomelib;
|
|
NoArg = esphomelib_ns.class_('NoArg')
|
|
App = esphomelib_ns.App
|
|
io_ns = esphomelib_ns.namespace('io')
|
|
Nameable = esphomelib_ns.class_('Nameable')
|
|
Trigger = esphomelib_ns.class_('Trigger')
|
|
Action = esphomelib_ns.class_('Action')
|
|
Component = esphomelib_ns.class_('Component')
|
|
ComponentPtr = Component.operator('ptr')
|
|
PollingComponent = esphomelib_ns.class_('PollingComponent', Component)
|
|
Application = esphomelib_ns.class_('Application')
|
|
optional = esphomelib_ns.class_('optional')
|
|
arduino_json_ns = global_ns.namespace('ArduinoJson')
|
|
JsonObject = arduino_json_ns.class_('JsonObject')
|
|
JsonObjectRef = JsonObject.operator('ref')
|
|
JsonObjectConstRef = JsonObjectRef.operator('const')
|
|
Controller = esphomelib_ns.class_('Controller')
|
|
StoringController = esphomelib_ns.class_('StoringController', Controller)
|
|
|
|
GPIOPin = esphomelib_ns.class_('GPIOPin')
|
|
GPIOOutputPin = esphomelib_ns.class_('GPIOOutputPin', GPIOPin)
|
|
GPIOInputPin = esphomelib_ns.class_('GPIOInputPin', GPIOPin)
|