sstratoti / homeassistant-snoo Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
This error kind of scared me a bit as passwords shouldn't be getting string interpolated. I wanted to log it and if I have time dig in.
2021-03-07 13:21:31 ERROR (MainThread) [custom_components.snoo.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/snoo/config_flow.py", line 52, in async_step_user
info = await validate_input(self.hass, user_input)
File "/config/custom_components/snoo/config_flow.py", line 36, in validate_input
result = await hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/snoo/config_flow.py", line 22, in fetch_token
client.auth["password"] = password
File "/usr/local/lib/python3.8/configparser.py", line 1259, in __setitem__
return self._parser.set(self._name, key, value)
File "/usr/local/lib/python3.8/configparser.py", line 1201, in set
super().set(section, option, value)
File "/usr/local/lib/python3.8/configparser.py", line 894, in set
value = self._interpolation.before_set(self, section, option,
File "/usr/local/lib/python3.8/configparser.py", line 402, in before_set
raise ValueError("invalid interpolation syntax in %r at "
ValueError: invalid interpolation syntax in 'TE%st0001'
I just came across this (https://github.com/rado0x54/pysnoo) and it looks slightly more complete. Would be good to update to use this and populate all the device info
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:549
First occurred: 2:44:28 PM (1 occurrences)
Last logged: 2:44:28 PM
Entity sensor.snoo_state (<class 'custom_components.snoo.sensor.SnooStateSensor'>) implements device_state_attributes. Please report it to the custom component author.
Credentials do not stick after a reboot. It would be great to eliminate the need to remove and re-add the integration at each reboot. Great work ! Love the integration and have relied on it since March.
thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.