From 7b62009e0d56e5025bea3c8238982404e329c76f Mon Sep 17 00:00:00 2001 From: sudoxnym Date: Sun, 7 Dec 2025 08:04:02 -0600 Subject: [PATCH] rebrand to sleepd, remove next alarm sensor --- CONTRIBUTING.md | 2 +- DEPLOY.md | 8 +- README.md | 16 +- custom_components/saas/manifest.json | 10 - .../{saas => sleepd}/__init__.py | 114 +- custom_components/{saas => sleepd}/button.py | 1252 ++++++------ .../{saas => sleepd}/config_flow.py | 368 ++-- custom_components/{saas => sleepd}/const.py | 316 +-- custom_components/sleepd/manifest.json | 10 + custom_components/{saas => sleepd}/sensor.py | 1783 ++++++++--------- .../{saas => sleepd}/services.py | 144 +- .../{saas => sleepd}/services.yaml | 0 .../{saas => sleepd}/translations/ar.json | 148 +- .../{saas => sleepd}/translations/de.json | 148 +- .../{saas => sleepd}/translations/en.json | 148 +- .../{saas => sleepd}/translations/es.json | 148 +- .../{saas => sleepd}/translations/fr.json | 148 +- .../{saas => sleepd}/translations/it.json | 148 +- .../{saas => sleepd}/translations/ja.json | 148 +- .../{saas => sleepd}/translations/ko.json | 148 +- .../{saas => sleepd}/translations/nl.json | 148 +- .../{saas => sleepd}/translations/pl.json | 148 +- .../{saas => sleepd}/translations/pt.json | 148 +- .../{saas => sleepd}/translations/pue.json | 148 +- .../{saas => sleepd}/translations/ru.json | 10 +- .../{saas => sleepd}/translations/sv.json | 148 +- .../{saas => sleepd}/translations/zh.json | 148 +- hacs.json | 2 +- 28 files changed, 2996 insertions(+), 3111 deletions(-) delete mode 100644 custom_components/saas/manifest.json rename custom_components/{saas => sleepd}/__init__.py (88%) rename custom_components/{saas => sleepd}/button.py (85%) rename custom_components/{saas => sleepd}/config_flow.py (95%) rename custom_components/{saas => sleepd}/const.py (93%) create mode 100644 custom_components/sleepd/manifest.json rename custom_components/{saas => sleepd}/sensor.py (82%) rename custom_components/{saas => sleepd}/services.py (85%) rename custom_components/{saas => sleepd}/services.yaml (100%) rename custom_components/{saas => sleepd}/translations/ar.json (90%) rename custom_components/{saas => sleepd}/translations/de.json (88%) rename custom_components/{saas => sleepd}/translations/en.json (85%) rename custom_components/{saas => sleepd}/translations/es.json (89%) rename custom_components/{saas => sleepd}/translations/fr.json (89%) rename custom_components/{saas => sleepd}/translations/it.json (90%) rename custom_components/{saas => sleepd}/translations/ja.json (87%) rename custom_components/{saas => sleepd}/translations/ko.json (87%) rename custom_components/{saas => sleepd}/translations/nl.json (89%) rename custom_components/{saas => sleepd}/translations/pl.json (90%) rename custom_components/{saas => sleepd}/translations/pt.json (89%) rename custom_components/{saas => sleepd}/translations/pue.json (87%) rename custom_components/{saas => sleepd}/translations/ru.json (91%) rename custom_components/{saas => sleepd}/translations/sv.json (89%) rename custom_components/{saas => sleepd}/translations/zh.json (87%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ac5921f..3d34602 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -# Contributing to SAAS - Sleep As Android Status +# Contributing to sleepd - Sleep As Android Status Thanks for helping improve the project! diff --git a/DEPLOY.md b/DEPLOY.md index 3300b09..40758da 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -1,4 +1,4 @@ -# 🧪 Deploying SAAS - Sleep As Android Status via HACS +# 🧪 Deploying sleepd - Sleep As Android Status via HACS ## 🛠️ Pre-requisites @@ -11,12 +11,12 @@ 1. In HACS, go to "Integrations" 2. Click the 3-dot menu > Custom repositories -3. Paste: `https://github.com/sudoxnym/saas` +3. Paste: `https://github.com/sudoxnym/sleepd` 4. Set Category to "Integration" 5. Click "Add" -6. Refresh, search for `SAAS - Sleep As Android Status`, and install +6. Refresh, search for `sleepd - Sleep As Android Status`, and install 7. Restart Home Assistant -8. Go to Settings > Devices & Services > Add Integration > search "SAAS" +8. Go to Settings > Devices & Services > Add Integration > search "sleepd" 9. Configure the integration with your MQTT topic and states ## 🧪 Testing diff --git a/README.md b/README.md index e738dae..01005f1 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@

-

🌙 saas - Sleep As Android status

+

🌙 sleepd - Sleep As Android status

🚨 0.2.0 breaking changes 🚨

-due to changes in **Home Assistant** 2025.12, you **must** remove your existing **SAAS** integration entries and re-add them after updating to this version. +due to changes in **Home Assistant** 2025.12, you **must** remove your existing **sleepd** integration entries and re-add them after updating to this version. --- @@ -21,7 +21,7 @@ sleep as android status is my solution for wake/sleep state within HA. it listen