This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |