mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-09-04 06:11:52 +01:00
Compare commits
6 Commits
1.0.1
...
untagged-9
Author | SHA1 | Date | |
---|---|---|---|
|
6357504e96 | ||
|
21d7c00e50 | ||
|
25b07f40e4 | ||
|
543973b7f9 | ||
|
4602092449 | ||
|
52ce92df7e |
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@@ -1,20 +1,17 @@
|
||||
name: Releases
|
||||
name: Release uploader
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
on: release
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
upload_release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Package up a release
|
||||
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifact: ../badnest.zip
|
||||
artifactContentType: application/zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Pull source
|
||||
uses: actions/checkout@v1
|
||||
- name: Package up a release
|
||||
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifact: ../badnest.zip
|
||||
artifactContentType: application/zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@@ -1,5 +1,6 @@
|
||||
"""Demo platform that offers a fake climate device."""
|
||||
from datetime import datetime
|
||||
import logging
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate.const import (
|
||||
@@ -56,6 +57,8 @@ PRESET_AWAY_AND_ECO = "Away and Eco"
|
||||
|
||||
PRESET_MODES = [PRESET_NONE, PRESET_AWAY, PRESET_ECO, PRESET_AWAY_AND_ECO]
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
async def async_setup_platform(hass,
|
||||
config,
|
||||
|
4
info.md
4
info.md
@@ -9,11 +9,11 @@ This isn't an advertised or public API, it's still better than web scraping, but
|
||||
## Drawbacks
|
||||
|
||||
- No proper error handling
|
||||
- Won't work with 2FA enabled accounts
|
||||
- Won't work with 2FA enabled accounts (Works with 2fa Google Accounts)
|
||||
- Tested with a single thermostat, I have no other devices to test with
|
||||
- Camera integration is untested by me
|
||||
- Nest could change their webapp api at any time, making this defunct
|
||||
- Presets don't work (Eco, Away)
|
||||
- Thermostat presets don't work (Eco, Away)
|
||||
|
||||
## Example configuration.yaml - When you're not using the Google Auth Login
|
||||
|
||||
|
Reference in New Issue
Block a user