No hardware configuration in this device

guys, when you get the hardware configuration is not done in the device don’t panic relax its just sipping a coffee easy. steps to check are:

  1. check whether you have provided a proper variable name ( like “light” as given in video class) I see some people don’t know what is a variable, its just the sequence of letters that’s it, no numbers or alphabet and number (like “h1” or “1234”). it will show your coding is right but when you deploy it shows an error so this may be one of the reason.
  2. as coding is a sensitive language you must be very careful with the commas apostrophes etc.