Skip to content

Instantly share code, notes, and snippets.

@bassicrob
Last active March 8, 2022 09:28
Show Gist options
  • Save bassicrob/fd3ac3c3c14560b16cc8f74d21498ef3 to your computer and use it in GitHub Desktop.
Save bassicrob/fd3ac3c3c14560b16cc8f74d21498ef3 to your computer and use it in GitHub Desktop.
HA Sensors for Tilt Integration
#### BEER ###########
- platform: mqtt
name: "Beer Fermentation Temperature"
state_topic: "beer/Temp/"
unit_of_measurement: "°F"
- platform: mqtt
name: "Beer Specific Gravity"
state_topic: "beer/SG/"
unit_of_measurement: "SG"
- platform: mqtt
name: "Beer Name"
state_topic: "beer/name/"
- platform: mqtt
name: "Tilt Signal Strength"
state_topic: "beer/rssi/"
unit_of_measurement: "dBm"
- platform: mqtt
name: "Beer Last Reading"
state_topic: "beer/timeread/"
- platform: mqtt
name: "Current ABV"
state_topic: "beer/abv/"
unit_of_measurement: '%'
- platform: mqtt
name: "Beer Logging"
command_topic: "beer/logging/state"
payload_on: "start"
payload_off: "stop"
retain: false
qos: 1
input_number:
beer_og:
name: Starting Gravity
mode: box
min: 1.03
max: 1.1
step: 0.001
icon: mdi:thermometer-lines
@hapklaar
Copy link

hapklaar commented Apr 18, 2020

All mqtt entries should be under 'sensor:', except for "Beer Logging", that one needs to go under 'switch:'

This was not immediately obvious to me because the sensor and switch sections are omitted from this example, so maybe someone else may run into the same issue :)

And this one was missing from sensor:

  - platform: mqtt
    name: "Current ABV"
    state_topic: "beer/abv/"
    unit_of_measurement: '%'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment