Skip to content

Instantly share code, notes, and snippets.

Avatar

Paris Butterfield parisbutterfield

View GitHub Profile
View mHAcustomization.yaml
switch:
- platform: mqtt
name: "Bedroom Fan"
state_topic: "ha/switch/bedroom_fan/state"
command_topic: "ha/switch/bedroom_fan/set"
payload_on: "on"
payload_off: "off"
optimistic: false
qos: 0
retain: true
View HBCExample.java
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
//Shoe size - 5 color is Brown
//Shoe size - 6 color is White