I have a basic question on conditional expectation. First I'll summarize my understandig of them (could be wrong).
On a probablity space $(\Omega,\mathcal{A},\mathbb{P})$ the conditional expectation $\mathbb{E}[ X \vert \mathcal{H} ]$ of an $\mathbb{P}$-integrable random number $X$ conditioned on a sub-$\sigma$-field $\mathcal{H}\subset \mathcal{A}$ is the almost sure unique $\mathbb{P}$-integrable and $\mathcal{H}$-measurable random number $E$ with
\begin{equation} \int_A E \; d\mathbb{P} = \int_A X \; d\mathbb{P}, \qquad\qquad \forall \; A\in\mathcal{H} \end{equation}
In particular $\mathbb{E}[X\vert \mathcal{H}] = \mathbb{E}X$ almost surely, if $X$ and $\mathcal{H}$ are independent.
If $\mathcal{H}=\sigma H$ for a random variable $H$ in some measurable space $(S,\mathcal{S})$, then $\mathbb{E}[ X \vert H ]=\mathbb{E}[X\vert \mathcal{H}]$ has the form $E = f\circ H$ for a $\mathcal{S}$/$\mathcal{B}$-measurable function $f:S\rightarrow \mathbb{R}$. One writes $\mathbb{E}[ X \vert H=s ] = f(s)$ for $s\in S$.
Now lets say $X$ is of the form $X=g(Y,H)$ for a measurable function $g$ and a random variable $Y$, where $Y$ is independent of $H$.
Now the question: What is $\mathbb{E}[ g(Y,H) \vert H=s ]$ ? is it $\mathbb{E}[ g(Y,s) ]$ ?