Skip to content

Instantly share code, notes, and snippets.

@haberda
haberda / reminder.py
Last active March 4, 2024 03:44
AppDaemon Reminder app
import hassapi as hass
import datetime
class reminder(hass.Hass):
def initialize(self):
self.set_namespace("reminder")
self.listen_event(self.set_reminder,'set_reminder', namespace='default')
self.listen_event(self.remove_reminder,'remove_reminder', namespace='default')
domain = 'reminder'
@cnorick
cnorick / lcd-scroll.yaml
Last active December 8, 2023 21:31
ESPHome -- Scroll LCD Display Lines
substitutions:
lcd_width: '16'
lcd_height: '2'
scroll_speed: 1s
line_1: 'Long line that we want to scroll'
line_2: 'Another long line that does not fit on the screen'
display:
- platform: lcd_gpio
dimensions: ${lcd_width}x${lcd_height}