New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native ESPHome Home Assistant state feature #19429

merged 2 commits into from Dec 20, 2018


None yet
4 participants
Copy link

OttoWinter commented Dec 18, 2018


This PR adds the ability for ESPHome nodes to import states from Home Assistant. This is especially useful for things like displays, where you often want to display stuff from HA.

aioesphomeapi change: OttoWinter/aioesphomeapi@0213daa

Example entry for ESPHome configuration (display)

- platform: homeassistant
  entity_id: sensor.dark_sky_weather_summary
  id: weather_sum

- platform: waveshare_epaper
  # ...
  lambda: |-
    it.print(0, 0, "Weather: %s", id(font), id(weather_sum).state.c_str());


  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

OttoWinter added some commits Dec 18, 2018


This comment has been minimized.

Copy link

fabaff commented Dec 18, 2018

That's a nice one.

Copy link

MartinHjelmare left a comment

Mysensors has a notify platform. Maybe an idea?

@MartinHjelmare MartinHjelmare merged commit dbd5396 into home-assistant:dev Dec 20, 2018

5 checks passed

Hound No violations found. Woof!
WIP Legacy commit status override — see details
cla-bot Everyone involved has signed the CLA
continuous-integration/travis-ci/pr The Travis CI build passed
coverage/coveralls Coverage decreased (-0.009%) to 93.033%

@wafflebot wafflebot bot removed the in progress label Dec 20, 2018

mxworm added a commit to mxworm/home-assistant that referenced this pull request Dec 21, 2018

Merge branch 'dev' into current
* dev: (75 commits)
  Add native ESPHome Home Assistant state feature (home-assistant#19429)
  Add new sensor platform to expose Islamic prayer times (home-assistant#19444)
  Add timeout to RainMachine login (home-assistant#19476)
  Reorder FLOW entries in (home-assistant#19475)
  Update pynetgear to 0.5.2 (home-assistant#19490)
  Rename ocr.png to ssocr-(entity_name).png to allow multiple instances (home-assistant#18634)
  Add Mythic Beasts DNSAPI Component (home-assistant#18333)
  Adds battery_percent which had been introduced with pyatmo 1.4 and resolves unknown var warning. (home-assistant#19309)
  Bump Pybotvac To Support D7 On Latest Firmware (home-assistant#19463)
  Add device registry to MQTT alarm control panel (home-assistant#19331)
  Add device registry to MQTT lock (home-assistant#19333)
  Bump pyharmony (home-assistant#19460)
  Add testcase test_entity_id_update
  Add device registry to MQTT climate
  Updated frontend to 20181219.0
  Update translations
  ZHA entity ZCL reporting configuration (home-assistant#19177)
  Use web sockets for Harmony HUB (home-assistant#19440)
  Correct calls to subscription.async_unsubscribe_topics (home-assistant#19414)
  Various updates (home-assistant#19449)

dshokouhi added a commit to dshokouhi/home-assistant that referenced this pull request Dec 25, 2018

Add native ESPHome Home Assistant state feature (home-assistant#19429)
* Add native ESPHome Home Assistant state feature

* Update aioesphomeapi

@balloob balloob referenced this pull request Jan 10, 2019


0.85.0 #19897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment