lostfields

Results 57 comments of lostfields

sorry, I haven't had time to do anything about that but I think I may have fixed it in version 0.5.14

I'll take a look, but one thing first, I don't like Upper Camelcase or casing of filenames. It's confusing and easy to make mistakes when importing.

```JavaScript async function* fetch() { let page = 1, lastPage = 5; while(page < lastPage) yield await Promise.resolve(page++) // async http request maybe? } (async () => { for await(let...

great, thank you @plylrnsdy. Guess I'm not into javascript anymore, it's allowed in typescript :-) the last one with the async generator may be that it isn't supported in Node...

`for await` isn't supported in 8.9 - either rewrite with helpers or parse through ts-node https://jakearchibald.com/2017/async-iterators-and-generators/ https://medium.com/@segersian/howto-async-generators-in-nodejs-c7f0851f9c02

Yeah, I know, I will do it but the project started as proof of concept and I'm not entirely happy with the code base. Some refactoring is needed.

Sure, but i'll want to implement a better base class for the REPL to make it easier to implement other languages such as Typescript Pointless to write a test for...

sure, that could be nice. not sure how it should be displayed though

Earlier, `JSON.stringify(groups)` outputted ```json [{ "_id":8440, "_name":"My House", "_devices":[{"_guid":"***","_name":"***","_operate":1,"_operationMode":3,"_temperatureSet":21,"_fanSpeed":0,"_fanAutoMode":3,"_airSwingLR":2,"_airSwingUD":2,"_ecoMode":0,"_actualNanoe":0,"_ecoNavi":0,"_nanoe":1,"_iAuto":0,"_airDirection":0,"_ecoFunctionData":0,"_insideTemperature":0,"_outTemperature":0,"lastSettingMode":0}] }] ``` and now ```json [{ "id":8440, "name":"My House", "devices":[{"guid":"***","name":"***","operate":"On","operationMode":"Heat","temperatureSet":21,"fanSpeed":"Auto","fanAutoMode":"AirSwingLR","airSwingLR":"Mid","airSwingUD":"Mid","ecoMode":"Auto","ecoNavi":0,"nanoe":"Off","iAuto":0,"actualNanoe":0,"airDirection":0,"ecoFunctionData":0,"insideTemperature":0,"outTemperature":0}] }] ``` That may be a breaking change, it depends. Although...

I've made it backwards compatible now, it will output the same as before with no breaking changes. To get the new output you have to set `ComfortCloudClient.outputMode = 'pretty'` What...