This file contains hidden or 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
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
public class Test | |
{ | |
public static void Main() | |
{ | |
TestString("AA", "AA", true); | |
TestString("AAABBAAAC", "AAABBCAAA", true); |
This file contains hidden or 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
alias: Clock Timer | |
trigger: | |
- platform: conversation | |
command: | |
- create [a] timer [for] {minutes} minute[s] and {seconds} second[s] | |
- create [a] timer [for] {seconds} second[s] | |
- create [a] timer [for] {minutes} minute[s] | |
condition: [] | |
action: | |
- variables: |
This file contains hidden or 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
type: vertical-stack | |
cards: | |
- type: vertical-stack | |
cards: | |
- type: entity | |
entity: sensor.coffeemaker_c10a29_brew_state | |
name: Status | |
- type: button | |
tap_action: | |
action: call-service |
This file contains hidden or 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
- id: '1624122675344' | |
alias: Bathroom Humidity Rising | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.bathroom_humity_rising | |
to: 'on' | |
from: 'off' | |
condition: [] | |
action: |
This file contains hidden or 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
#include "config.h" | |
#include <Stepper.h> | |
#include "AdafruitIO_WiFi.h" | |
#define IO_USERNAME "" | |
#define IO_KEY "" | |
#define WIFI_SSID "" | |
#define WIFI_PASS "" | |