Rename to ESPHome Core

This commit is contained in:
Otto Winter 2018-12-17 09:31:56 +01:00
parent 4f9572869e
commit aed15d8859
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
3 changed files with 80 additions and 80 deletions

View File

@ -38,7 +38,7 @@ message HelloResponse {
// A string identifying the server (ESP); like client info this may be empty
// and only exists for debugging/logging purposes.
// For example "esphomelib v1.10.0 on ESP8266"
// For example "ESPHome v1.10.0 on ESP8266"
string server_info = 3;
}
@ -87,8 +87,8 @@ message DeviceInfoResponse {
// The mac address of the device. For example "AC:BC:32:89:0E:A9"
string mac_address = 3;
// A string describing the esphomelib version. For example "1.10.0"
string esphomelib_version = 4;
// A string describing the ESPHome version. For example "1.10.0"
string esphome_core_version = 4;
// A string describing the date of compilation, this is generated by the compiler
// and therefore may not be in the same format all the time.

File diff suppressed because one or more lines are too long

View File

@ -106,7 +106,7 @@ class DeviceInfo:
uses_password = attr.ib(type=bool)
name = attr.ib(type=str)
mac_address = attr.ib(type=str)
esphomelib_version = attr.ib(type=str)
esphome_core_version = attr.ib(type=str)
compilation_time = attr.ib(type=str)
model = attr.ib(type=str)
has_deep_sleep = attr.ib(type=bool)
@ -478,7 +478,7 @@ class APIClient:
uses_password=resp.uses_password,
name=resp.name,
mac_address=resp.mac_address,
esphomelib_version=resp.esphomelib_version,
esphome_core_version=resp.esphome_core_version,
compilation_time=resp.compilation_time,
model=resp.model,
has_deep_sleep=resp.has_deep_sleep,