Using Google Home/Nest as microphone/speaker

proper naming of the items and reading this thread should give you a lot of answers.
In short, I name all of my items as Room_Device_SpecificItem
So I can actually use something like:

rule "Presense Changed - Light"
when
    Member of MotionPresense changed
then
    val room = triggeringItem.name.split("_").get(0)
    val pause = LightMotionControls.members.findFirst[ p | p.name == room + "_Motion_Pause" ] 
    val override = LightMotionOverride.members.findFirst[ ov | ov.name == room + "_Manual_Override"] 

to get the actual location of the triggering item and to be able to control other items in that room.
Also with such approach, you just need to write the rule once and can add more and more same devices without need to append rules.

P.S. this response was written, before I’ve seen latest message

  1. So, the only chromecast that you have, would be TV?
  2. It really depends, how seriously do you rely on Google Home’s stuff, I’ve heard a lot of good stuff about sonoff’s
  3. If you want to work with your home automation beyond just switching on and off lights, you’ll need to start learning basics, as well as start learing properly reading documentation/googling.