mirror of
				https://github.com/Clortox/dashboard.git
				synced 2025-07-17 14:02:10 +00:00 
			
		
		
		
	Change type MBps to Mbps
This commit is contained in:
		
							parent
							
								
									cbcba7d143
								
							
						
					
					
						commit
						998f355460
					
				| @ -113,14 +113,14 @@ void wifi::update() { | |||||||
|                     && WIFI_HOMEASSISTANT_SPEEDTEST){ |                     && WIFI_HOMEASSISTANT_SPEEDTEST){ | ||||||
|                 speedtest_up = "Upload: "; |                 speedtest_up = "Upload: "; | ||||||
|                 speedtest_up += json_doc[i]["state"].GetString(); |                 speedtest_up += json_doc[i]["state"].GetString(); | ||||||
|                 speedtest_up += "MBps"; |                 speedtest_up += "Mbps"; | ||||||
|             } //speedtest down
 |             } //speedtest down
 | ||||||
|             else if (strcmp(json_doc[i]["entity_id"].GetString(), |             else if (strcmp(json_doc[i]["entity_id"].GetString(), | ||||||
|                         WIFI_HOMEASSISTANT_SPEEDTEST_DOWN) == 0 |                         WIFI_HOMEASSISTANT_SPEEDTEST_DOWN) == 0 | ||||||
|                     && WIFI_HOMEASSISTANT_SPEEDTEST){ |                     && WIFI_HOMEASSISTANT_SPEEDTEST){ | ||||||
|                 speedtest_down = "Download: "; |                 speedtest_down = "Download: "; | ||||||
|                 speedtest_down += json_doc[i]["state"].GetString(); |                 speedtest_down += json_doc[i]["state"].GetString(); | ||||||
|                 speedtest_down += "MBps"; |                 speedtest_down += "Mbps"; | ||||||
|             } //speedtest ping
 |             } //speedtest ping
 | ||||||
|             else if (strcmp(json_doc[i]["entity_id"].GetString(), |             else if (strcmp(json_doc[i]["entity_id"].GetString(), | ||||||
|                         WIFI_HOMEASSISTANT_SPEEDTEST_PING) == 0 |                         WIFI_HOMEASSISTANT_SPEEDTEST_PING) == 0 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tyler Perkins
						Tyler Perkins