edit fan mode name
This commit is contained in:
		
							parent
							
								
									cfd220ea1a
								
							
						
					
					
						commit
						572878259c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -609,7 +609,7 @@ void publish_ac_state()
 | 
			
		|||
    temp = "cool";
 | 
			
		||||
    break;
 | 
			
		||||
  case 2:
 | 
			
		||||
    temp = "fan";
 | 
			
		||||
    temp = "fan_only";
 | 
			
		||||
  default:
 | 
			
		||||
    break;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			@ -653,7 +653,7 @@ void ac_state_callback(String topic, String message)
 | 
			
		|||
    {
 | 
			
		||||
      ac_set_state(1, ac_temperature, ac_fan_speed);
 | 
			
		||||
    }
 | 
			
		||||
    else if (message.compareTo("fan") == 0)
 | 
			
		||||
    else if (message.compareTo("fan_only") == 0)
 | 
			
		||||
    {
 | 
			
		||||
      ac_set_state(2, ac_temperature, ac_fan_speed);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue