mirror of
https://github.com/esphome/esphome.git
synced 2024-11-12 18:27:46 +01:00
Merge branch 'master' into dev
This commit is contained in:
commit
4ffa68b773
4 changed files with 3 additions and 1 deletions
|
@ -93,6 +93,7 @@ def to_code(config):
|
|||
cg.add(var.set_optimistic(config[CONF_OPTIMISTIC]))
|
||||
cg.add(var.set_assumed_state(config[CONF_ASSUMED_STATE]))
|
||||
cg.add(var.set_restore_mode(config[CONF_RESTORE_MODE]))
|
||||
cg.add(var.set_has_position(config[CONF_HAS_POSITION]))
|
||||
|
||||
|
||||
@automation.register_action(
|
||||
|
|
|
@ -59,7 +59,7 @@ def write_version(version: Version):
|
|||
sub(
|
||||
"esphome/const.py",
|
||||
r"^PATCH_VERSION = .*$",
|
||||
f"PATCH_VERSION = '{version.full_patch}'",
|
||||
f'PATCH_VERSION = "{version.full_patch}"',
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -261,6 +261,7 @@ mcp23s17:
|
|||
cs_pin: GPIO12
|
||||
deviceaddress: 1
|
||||
|
||||
|
||||
sensor:
|
||||
- platform: ble_client
|
||||
ble_client_id: ble_foo
|
||||
|
|
Loading…
Reference in a new issue