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
export default { | |
async fetch(request, env) { | |
const body = await request.json(); | |
const response = await env.AI.run("@cf/meta/llama-3-8b-instruct", body); | |
return new Response(JSON.stringify(response)); | |
}, | |
}; |
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: ESPHome Auto-Update | |
description: "" | |
trigger: | |
- platform: template | |
value_template: >- | |
{{ integration_entities('esphome') | select('match', '^update.') | | |
select('is_state', 'on') | list | count > 0 }} | |
condition: [] | |
action: | |
- service: script.esphome_update_all_devices |
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: "ESPHome: Update All Devices" | |
sequence: | |
- repeat: | |
for_each: >- | |
{{ states.update | selectattr('state', 'eq', 'on') | | |
map(attribute='entity_id') | select('in', | |
integration_entities('esphome')) | list }} | |
sequence: | |
- service: update.install | |
data: {} |
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: "BKW: Maschinen laufen lassen Notification" | |
description: "" | |
trigger: | |
- platform: numeric_state | |
entity_id: | |
- sensor.shelly_bkw_power | |
for: | |
hours: 0 | |
minutes: 5 | |
seconds: 0 |
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: Türen | |
description: "" | |
trigger: | |
- platform: zone | |
entity_id: person.florian | |
zone: zone.home | |
event: enter | |
id: zoneHomeOn | |
- platform: state | |
entity_id: |
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
- platform: template | |
sensors: | |
people_home: | |
friendly_name: "Anyone home" | |
unit_of_measurement: "home" | |
value_template: > | |
{{ states['person'] | selectattr('state','eq','home') | list | count }} |
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: WLED Flur Arbeitszeit | |
description: "" | |
trigger: | |
- type: turned_on | |
platform: device | |
device_id: 66a6f5fa4a209f0d9089ac798a143838 | |
entity_id: 2aa74d546a0bdc67e47539fa04b65813 | |
domain: binary_sensor | |
id: macbookCameraOn | |
- type: turned_on |
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
# source: https://forum.proxmox.com/threads/removing-deleting-a-created-cluster.18887/ | |
#/bin/sh | |
# stop service | |
systemctl stop pvestatd.service | |
systemctl stop pvedaemon.service | |
systemctl stop pve-cluster.service | |
systemctl stop corosync | |
systemctl stop pve-cluster | |
# edit through sqlite, check, delete, verify |
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
esphome: | |
name: esphome-web-d64945 | |
esp8266: | |
board: nodemcu | |
logger: | |
api: | |
encryption: |
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: horizontal-stack | |
cards: | |
- show_name: true | |
show_icon: true | |
type: button | |
tap_action: | |
action: toggle | |
entity: switch.arbeitszeit | |
icon: mdi:briefcase | |
icon_height: 40px |
NewerOlder