Comments (4)
No problem. I can wait for the next release. I've been able to identify some issues with the code besides formatting. For example you shouldn't check if something is False or True using equality operation (==) but you should use is
keyword (if foo is False
for example). I'll try to find such issues and also correct them.
from appdaemon.
Not sure that I agree it's hard to read, but I am relatively new to Python and haven't been exposed to PEP8, so I guess if you are used to that format it could be challenging - if you are happy to reformat I am happy to take it as a PR and accept it as a learning process and maintain it going forward :)
If you do decide to go ahead can I ask that you submit the PR after the next major release - I am gettingready to release 1,5.0 and it has quite a few changes. Rather than merge I would prefer you submit against that version as it should be the last for a while. I am planning to release it at the weekend.
from appdaemon.
Andrew, I've also noticed this but for what it's worth, I've never had a problem understanding your logic. I'm self-taught Python over the past few years, and it's a bit obvious you didn't start with Python as a cs lang, but that's totally fine. @yawor thanks for taking on this endeavor!
from appdaemon.
1.5.1 is now live. I'll close this and await the PR - thanks!
from appdaemon.
Related Issues (20)
- after upgrade to 0.15.1 it stop afer few second HOT 2
- Script wiped out after upgrade to 15.0 / 15.2 HOT 3
- Not Starting in Home Assistant with Latest Update HOT 2
- What Have you done? HOT 5
- appdaemon folder emptied on Nov 16? HOT 3
- Render template seems to have problems with special characters
- Not start anymore HOT 1
- Allow apps.yaml path to be configured
- Documentation to point to new configuration location HOT 5
- Weirt example in `Choosing a Start Time`
- Issue logging DEBUG level log entries HOT 2
- Add support for service calls that return data such as todo/get_items HOT 3
- Logging (self.log) does not properly handle encoding of some non-English characters. HOT 1
- Schedy App/script not working after update Appdaemon add-on to 0.15.2
- Add ability to trigger a manual check_app_update or to set a custom interval (or: is utility_delay safe to change?)
- Throw an error / refuse to load if apps.yaml has a duplicate top-level key HOT 2
- Double reset_timer set execution time to first time set
- Python 3.12 support HOT 4
- Python package imports - "expert mode" HOT 1
- Warning about "secrtets" from apps where yaml is commented out
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appdaemon.