Comments (18)
challenge accepted
from homeassistant-greeclimatecomponent.
hey @toughvj , just add some details here:
I've started looking into the javascript files within the Gree+ app and found a few methods might helpful, comments are added by me by analyzing the contexts, so they can be inaccurate):
setLig:function(t) {
var e=0,n=0;
switch(t.value){
case 0:
e=0,n=1;break; // off
case 1:
e=1,n=1;break; // on
case 2:
e=1,n=0;break; // auto
default:break
}
this.setState(["ableSend",!0]),
this.sendData({Lig:e,LigSen:n})
}
LigStatus:function(){
return console.log("LigStatus=======",[0,0,2,1][2*this.Lig+this.LigSen]),
[0,0,2,1][2*this.Lig+this.LigSen]
// 3 for on;
// 2 for off;
// 1 for auto
}
seed like we need an input_selector to represent the light status or maybe just another input_bool to represent built-in auto light on/off
from homeassistant-greeclimatecomponent.
We should replace light input boolean and auto_light with input_selctor with options:
- on
- off
- auto
- light sensor based
I need some time to take a look at this
from homeassistant-greeclimatecomponent.
Related Issues (20)
- It doesn't show offline after restart of AC HOT 2
- Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer - then nothing happened anymore HOT 6
- Gree now sends its own temperature HOT 3
- Add support to GWHD(28)NK3K0 HOT 1
- Wrong product HOT 1
- Notice of removals - HASS 2025.1.X+ HOT 3
- Current temperature not working HOT 2
- Deprecated and will be removed in Home Assistant 2025.5 HOT 4
- How to access/expose separate Entities ? HOT 6
- cannot import name 'EventStateChangedData' from 'homeassistant.core' HOT 2
- Turning on Gree air conditioner after starting Home Assistant HOT 5
- Devices unavailable HOT 2
- Can you support the `Anti Direct Blowing Wind Shield` feature HOT 24
- one of three didnt workm [Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer] HOT 4
- new encryption method: Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer HOT 2
- ImportError: cannot import name 'EventStateChangedData' from 'homeassistant.core' HOT 2
- No input_boolean beeing created, HOT 4
- getting error : 2024-05-29 08:57:25.609 ERROR (MainThread) [homeassistant.components.climate] Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer. HOT 6
- Temperature adjustment increments for instances using imperial (Fahrenheit) HOT 1
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 homeassistant-greeclimatecomponent.