initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Counter helpers
|
||||
# Example:
|
||||
# daily_steps:
|
||||
# name: Daily Steps
|
||||
# initial: 0
|
||||
# step: 1
|
||||
# icon: mdi:counter
|
||||
@@ -0,0 +1,9 @@
|
||||
# For day camp automation
|
||||
day_camp_today:
|
||||
name: Day Camp Today
|
||||
initial: off
|
||||
|
||||
# Placeholder used only in disabled/retired YAML automations to avoid references to deleted entities.
|
||||
hermes_disabled_automation_placeholder:
|
||||
name: Hermes Disabled Automation Placeholder
|
||||
initial: off
|
||||
@@ -0,0 +1,7 @@
|
||||
# Input datetime helpers
|
||||
# Example:
|
||||
# alarm_time:
|
||||
# name: Alarm Time
|
||||
# has_time: true
|
||||
# has_date: false
|
||||
# icon: mdi:alarm
|
||||
@@ -0,0 +1,15 @@
|
||||
# Input number helpers
|
||||
# Example:
|
||||
# volume_level:
|
||||
# name: Volume Level
|
||||
# min: 0
|
||||
# max: 100
|
||||
# step: 1
|
||||
# icon: mdi:volume-high
|
||||
|
||||
last_unavailable_count:
|
||||
name: Last Unavailable Entity Count
|
||||
min: 0
|
||||
max: 10000
|
||||
step: 1
|
||||
mode: box
|
||||
@@ -0,0 +1,9 @@
|
||||
# Input select helpers
|
||||
# Example:
|
||||
# house_mode:
|
||||
# name: House Mode
|
||||
# options:
|
||||
# - Home
|
||||
# - Away
|
||||
# - Night
|
||||
# icon: mdi:home
|
||||
@@ -0,0 +1,27 @@
|
||||
notion_page_id_printcharming:
|
||||
name: "Notion Page ID - PrintsCharming"
|
||||
max: 100
|
||||
|
||||
notion_page_id_turd_flinger:
|
||||
name: "Notion Page ID - Ds-Turd-Flinger"
|
||||
max: 100
|
||||
|
||||
notion_page_id_polly_pocket:
|
||||
name: "Notion Page ID - Polly-Pocket"
|
||||
max: 100
|
||||
|
||||
notion_page_id_constipation_orion:
|
||||
name: "Notion Page ID - Constipation-Orion"
|
||||
max: 100
|
||||
|
||||
notion_page_id_jordyns_layer_slayer:
|
||||
name: "Notion Page ID - Jordyns-Layer-Slayer"
|
||||
max: 100
|
||||
|
||||
notion_page_id_centauri_carbon:
|
||||
name: "Notion Page ID - Centauri Carbon"
|
||||
max: 100
|
||||
|
||||
notion_page_id_saturn:
|
||||
name: "Notion Page ID - Saturn"
|
||||
max: 100
|
||||
@@ -0,0 +1,37 @@
|
||||
# REST commands to create and update Notion pages.
|
||||
notion_create_print:
|
||||
url: "https://api.notion.com/v1/pages"
|
||||
method: POST
|
||||
content_type: "application/json"
|
||||
headers:
|
||||
Authorization: !secret notion_token_bearer
|
||||
Notion-Version: "2022-06-28"
|
||||
payload: >
|
||||
{
|
||||
"parent": { "database_id": "c7bab550efd740909f656f101697832d" },
|
||||
"properties": {
|
||||
"File Name": { "title": [{ "text": { "content": "{{ file_name }}" } }] },
|
||||
"Status": { "select": { "name": "Printing" } },
|
||||
"Printer": { "select": { "name": "{{ printer_name }}" } },
|
||||
"Filament Type": { "select": { "name": "{{ filament_type }}" } },
|
||||
"Filament Color": { "rich_text": [{ "text": { "content": "{{ filament_color }}" } }] },
|
||||
"date:Started:start": { "date": { "start": "{{ started }}", "time_zone": "America/New_York" } }
|
||||
}
|
||||
}
|
||||
|
||||
notion_update_print:
|
||||
url: "https://api.notion.com/v1/pages/{{ page_id }}"
|
||||
method: PATCH
|
||||
content_type: "application/json"
|
||||
headers:
|
||||
Authorization: !secret notion_token_bearer
|
||||
Notion-Version: "2022-06-28"
|
||||
payload: >
|
||||
{
|
||||
"properties": {
|
||||
"Status": { "select": { "name": "{{ status }}" } },
|
||||
"Weight (g)": { "number": {{ weight }} },
|
||||
"Length (mm)": { "number": {{ length }} },
|
||||
"date:Completed:start": { "date": { "start": "{{ completed }}", "time_zone": "America/New_York" } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
git_autocommit: "/config/scripts/git_autocommit.sh"
|
||||
@@ -0,0 +1,6 @@
|
||||
# Timer helpers
|
||||
# Example:
|
||||
# bedtime_timer:
|
||||
# name: Bedtime Timer
|
||||
# duration: "00:30:00"
|
||||
# icon: mdi:timer
|
||||
Reference in New Issue
Block a user