Skip to content

Instantly share code, notes, and snippets.

@richardhawthorn
richardhawthorn / gist:bf7b4432985698b2b9a147e7f972b28e
Last active March 7, 2024 21:07
Homeassistant -> esphome openweathermap template for hourly forecasts
Modify the /homeassistant/configuration.yaml file adding the following code to the end of the file
template:
- sensor:
- name: "Weather Data"
unique_id: "weather_data"
state: "OK"
attributes:
weather_sunrise: >
# Rename this distribution example file to motion.conf
#
# This config file was generated by motion 4.0.1
############################################################
# Daemon
############################################################
# Start in daemon (background) mode and release terminal (default: off)

Keybase proof

I hereby claim:

  • I am richardhawthorn on github.
  • I am richardhawthorn (https://keybase.io/richardhawthorn) on keybase.
  • I have a public key whose fingerprint is ACD2 2A1D DF6F 9205 155E 7E68 08A4 3061 C48A DBB4

To claim this, I am signing this object: