1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-09-04 06:11:52 +01:00

6 Commits

Author SHA1 Message Date
Jacob McSwain
6357504e96 Merge pull request #7 from USA-RedDragon/readme-update
Edit Drawbacks in the README
2019-10-19 18:56:07 -05:00
Jacob McSwain
21d7c00e50 Edit Drawbacks in the README 2019-10-19 18:55:37 -05:00
Jacob McSwain
25b07f40e4 Merge pull request #6 from USA-RedDragon/nicer-releases
Make releases nicer to work with
2019-10-19 18:53:54 -05:00
Jacob McSwain
543973b7f9 Make releases nicer to work with 2019-10-19 18:53:06 -05:00
Jacob McSwain
4602092449 Merge pull request #5 from USA-RedDragon/climate-logging
Add logger to climate
2019-10-19 18:44:00 -05:00
Jacob McSwain
52ce92df7e Add logger to climate 2019-10-19 18:43:25 -05:00
3 changed files with 17 additions and 17 deletions

View File

@@ -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 }}

View File

@@ -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,

View File

@@ -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