Skip to content

Instantly share code, notes, and snippets.

View maxi1134's full-sized avatar

Maxi1134 maxi1134

  • Purgatory
  • Montreal
  • 05:40 (UTC -04:00)
View GitHub Profile
@maxi1134
maxi1134 / gist:aef5ea77aa58446d7cd4cdc9d8ccfdf8
Created June 13, 2024 15:28
Logs from LocalAI when it loops due to HA
This file has been truncated, but you can view the full file.
media_player.hotbox_top_chromecast,Hotbox Top TV,off,
media_player.office_speaker,Office speaker,off,
media_player.hotbox_down_display,Hotbox Down Display,playing,
media_player.hotbox_top_display,Hotbox top Display,playing,
sensor.currentgamemaxi,Maxis Current Game,unavailable,
binary_sensor.maxi_is_listening,maxi is listening,unavailable,
binary_sensor.f9432d25_5b487528,f9432d25-5b487528,off,
media_player.mass_closet_wiim_speaker,Closet Wiim,off,
media_player.mass_home_group,Home group,off,
```
@maxi1134
maxi1134 / gist:77f93f4493771779fe0b4317aa3794a8
Created April 21, 2023 02:35
My overly complicated sensor
- name: "Maxi Location"
unique_id: "maxi_location"
state: >-
{% set braceletroom = states('sensor.b7bracelet1') %}
{% set phoneroom = states('sensor.phone_fold4') %}
{% set gpslocation = states('device_tracker.phone_galaxy_fold_4') %}
{% if braceletroom != "not_home" %}